rafaelwendel / phpsupabase

PHP Client to use Supabase
MIT License
187 stars 18 forks source link

signInWithRefreshToken doesn't work. #28

Closed ubudee closed 1 year ago

ubudee commented 1 year ago

edit: i made sure the refresh token is not used anywhere else and this also happens with new refresh tokens created one second before running this code and receiving the error.

I have signed in before this codes runs and saved the session in my cookies. After 1 hour it runs the following code. Result is either null or this:

image

This is the code for refreshing:

image

ubudee commented 1 year ago

Turned out to be my own mistake.

Soben commented 9 months ago

Turned out to be my own mistake.

What was the mistake?