-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrong import in DuendeIdentityServer6 example #11265
Comments
The function name is used for the import and does not need to be changed. The callback URL also does not need to be changed. |
The The import statement and callback URL for each provider are read directly by the following script, rather than being automatically generated based on |
What is the improvement or update you wish to see?
The provided example in the OAuth docs here has a wrong import.
Is there any context that might help us understand?
import DuendeIdentityServer6 from "next-auth/providers/duende-identityserver6"
the provider is actually called
duende-identity-server6
next-auth/packages/core/src/providers/duende-identity-server6.ts
Line 96 in d00d913
The callback is probably wrong as well (
[origin]/api/auth/callback/duende-identityserver6
)I believe the strings are automatically generated based on
next-auth/docs/pages/data/manifest.json
Line 71 in d00d913
Happy to raise a PR to fix the docs
Does the docs page already exist? Please link to it.
https://authjs.dev/getting-started/authentication/oauth
The text was updated successfully, but these errors were encountered: