Replies: 8 comments 1 reply
-
I'm getting the same issue. Any solution for this ?
|
Beta Was this translation helpful? Give feedback.
-
Same issue here. Any update on that? |
Beta Was this translation helpful? Give feedback.
-
Same here but using Solid Start. 😢 |
Beta Was this translation helpful? Give feedback.
-
No updates in 10 months, that's disappointing. |
Beta Was this translation helpful? Give feedback.
-
I am still getting that error since i reinstalled my pc. Never saw it before. |
Beta Was this translation helpful? Give feedback.
-
still no solution for this? do I just drop authjs? |
Beta Was this translation helpful? Give feedback.
-
Also getting this error using a third party OIDC |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, I encountered a similar error in my project:
In my case, the issue was due to a typo in my I recommend double-checking your environment variables to ensure they are correctly specified. This might help fix the issue for you as well. Hope this helps! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! i am using sveltekit and am using authjs. though, when following the docs and changing the github example to Discord it breaks with this error:
import { SvelteKitAuth } from "@auth/sveltekit"
import Discord from "@auth/core/providers/discord"
import { redirect, type Handle } from '@sveltejs/kit';
import { sequence } from '@sveltejs/kit/hooks';
async function authorization({ event, resolve }) {
// Protect any routes other then /auth
if (!event.url.pathname.startsWith('/auth')) {
const session = await event.locals.getSession();
if (!session) {
throw redirect(303, '/auth');
}
}
}
export const handle: Handle = sequence(SvelteKitAuth({
providers: [Discord({
clientId: '', clientSecret: '',
authorization: "https://discord.com/api/oauth2/authorize?scope=identify+email+guilds"
})],
}),
authorization)
Beta Was this translation helpful? Give feedback.
All reactions