You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been working with auth via different methods.
JWT expired and the session lost 😩 I noticed it’s expired after the period written in Supabase which can be maximum 1 week. Wish if we can stay logged in until it’s logged out by the user Like instagram.
Provider sign in has to ways a. Sigin method which doesn’t lunch the url you have to lunch it by yourself b. SigninWithProvider which return bool
both methods doesn’t return the session and don’t trigger onAuthStateChange
Phone auth is cool but I would highly recommend if we can sign users with phone directly “ In my case Im using other sms provider api so I had to workaround and signup the user first”
@DanMossa #73 as a way to fix the issue i can see you return the GotrueSessionResponse instead of bool "That's cool but still the response will return 2 things url and provider name.
I believe the main issue is in the _handleProviderSignIn here where the session should be given
Activity
DanMossa commentedon Apr 17, 2022
Ashwaq3 commentedon Apr 17, 2022
@DanMossa
Just checked your PR it would be amazing if it's fixed.
It could be in this way or any other way as long as it allowed me signin with phone without sigin it up.
Ashwaq3 commentedon Apr 17, 2022
@DanMossa
#73 as a way to fix the issue i can see you return the GotrueSessionResponse instead of bool "That's cool but still the response will return 2 things url and provider name.
I believe the main issue is in the _handleProviderSignIn here where the session should be given

bdlukaa commentedon Apr 17, 2022
bdlukaa commentedon Jul 17, 2022
I guess we can close this a duplicate of the above issues
chore: reconcile sdk-compliance.yaml with capability matrix renames a…