Skip to content

Commit 743e66a

Browse files
authored
Merge pull request #45 from BossMBGaming/dev
[Bug-Fix] - Authentication Bearer Token Not Refreshing
2 parents 04c3759 + 9410d48 commit 743e66a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

addons/supabase/Auth/auth.gd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ func _on_task_completed(task : AuthTask) -> void:
280280
if task.user != null:
281281
client = task.user
282282
_auth = client.access_token
283+
_bearer = ["Authorization: Bearer %s"]
283284
_bearer[0] = _bearer[0] % _auth
284285
_expires_in = client.expires_in
285286
match task._code:

0 commit comments

Comments
 (0)