Closed conrmahr closed 11 months ago
Can I be assigned to this issue? I'd like to work on this
The cause of this is this related issue: https://github.com/nextauthjs/next-auth/issues/6980
Sorry for the confusion, the URL in the docs you screenshoted are specific to next.js, as @LekoArts pointed out the paths in SvelteKit are hardcoded to /auth/..
(see: next-auth/packages/frameworks-sveltekit/src/lib/index.ts:220
)
What is the improvement or update you wish to see?
Documentation and code comments reference incorrect callback URI for the Provider Discord:
❌ Screenshot of Documentation:
❌ Code Comment: https://github.com/nextauthjs/next-auth/blob/87670000917a04b1d22191b4aa07c391fe910c5d/packages/core/src/providers/discord.ts#L94C6-L94C6
✅ Correct Discord Callback URL:
https://example.com/auth/callback/discord
Is there any context that might help us understand?
Tested with:
Does the docs page already exist? Please link to it.
https://authjs.dev/reference/core/providers/discord