We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ffd075 commit 3fd26b5Copy full SHA for 3fd26b5
packages/authentication-oauth/src/strategy.ts
@@ -144,11 +144,11 @@ export class OAuthStrategy extends AuthenticationBaseStrategy {
144
return null
145
}
146
147
- const redirectUrl = `${redirect}${queryRedirect}`
148
-
149
if (queryRedirect) {
150
validateRedirectOrigin(redirect, queryRedirect)
151
+
+ const redirectUrl = `${redirect}${queryRedirect}`
152
const separator = redirectUrl.endsWith('?') ? '' : redirect.indexOf('#') !== -1 ? '?' : '#'
153
const authResult: AuthenticationResult = data
154
const query = authResult.accessToken
0 commit comments