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.
2 parents cdaff9b + 9991b1d commit cdfc636Copy full SHA for cdfc636
default-views/auth/login-required.hbs
@@ -33,7 +33,7 @@
33
const session = await solid.auth.popupLogin()
34
if (session) {
35
// Make authenticated request to the server to establish a session cookie
36
- const {status} = await solid.auth.fetch(location)
+ const {status} = await solid.auth.fetch(location, { method: 'HEAD' })
37
if (status === 401) {
38
alert(`Invalid login.\n\nDid you set ${session.idp} as your OIDC provider in your profile ${session.webId}?`)
39
await solid.auth.logout()
0 commit comments