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
{{ message }}
Repository navigation
signInWithProvider returns bool where as signIn returns GotrueSessionResponse #72
Workaround until it is fixed in latest release: Use something like uni_links and catch deeplinks. Parse the refresh_token manually and call setSession() method.
Closing this issue as this is actually by design. Because provider sign in relies on opening an webview and coming back to the app via deeplinks, there is no way for the method to return the result of the sign in. Whether the sign in went through or not should be determined by listening to onAuthStateChanged callback!
Activity
DanMossa commentedon Mar 30, 2022
Good catch. We should be returning the result of
signInand notlaunchDanMossa commentedon Mar 30, 2022
Fixed in #73
jstnw10 commentedon Jul 5, 2022
Workaround until it is fixed in latest release: Use something like uni_links and catch deeplinks. Parse the refresh_token manually and call
setSession()method.dshukertjr commentedon Sep 29, 2022
Closing this issue as this is actually by design. Because provider sign in relies on opening an webview and coming back to the app via deeplinks, there is no way for the method to return the result of the sign in. Whether the sign in went through or not should be determined by listening to
onAuthStateChangedcallback!