We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60006e5 commit 9c8fb03Copy full SHA for 9c8fb03
1 file changed
src/webid-oidc.js
@@ -34,7 +34,7 @@ export async function currentSession(
34
return null
35
}
36
const url = currentUrl()
37
- if (!url || !url.includes('#access_token=')) {
+ if (!/#(.*&)?access_token=/.test(url)) {
38
39
40
const storeData = await getData(storage)
0 commit comments