We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd29b8b commit cdb5220Copy full SHA for cdb5220
packages/core/auth-js/src/GoTrueClient.ts
@@ -2047,7 +2047,9 @@ export default class GoTrueClient {
2047
2048
if (!access_token || !expires_in || !refresh_token || !token_type) {
2049
if (provider_token || provider_refresh_token) {
2050
- const { data: sessionData, error: sessionError } = await this.__loadSession()
+ const { data: sessionData, error: sessionError } = await this._useSession(
2051
+ async (result) => result
2052
+ )
2053
if (sessionError) throw sessionError
2054
if (!sessionData.session) {
2055
throw new AuthImplicitGrantRedirectError('No session defined in URL')
0 commit comments