Issue with IdentityServer4 Provider! #3191
-
Question 💬Dear all,
How to reproduce ☕️
Providers.IdentityServer4({
id: "demo-identity-server",
name: "Demo IdentityServer4",
authorization: { params: { scope: "openid profile email api offline_access" } },
issuer: "https://demo.identityserver.io/",
clientId: "interactive.confidential",
clientSecret: "secret",
})
I got the same error if testing with my localhost IdentityServer. Contributing 🙌🏽Yes, I am willing to help answer this question in a PR |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
I have found the root cause: IdentityServer4 need to have one more option: domain. So settings for IdentityServer4 provider should be updated as below: |
Beta Was this translation helpful? Give feedback.
-
I am curious which version you are using. To contact the demo IDS server, I only need the following config: next-auth/app/pages/api/auth/[...nextauth].ts Lines 131 to 135 in 38cefdd IDS4_ID = "interactive.confidential"
IDS4_SECRET = "secret"
IDS4_ISSUER = "https://demo.identityserver.io" Try upgrading to the latest |
Beta Was this translation helpful? Give feedback.
I am curious which version you are using. To contact the demo IDS server, I only need the following config:
next-auth/app/pages/api/auth/[...nextauth].ts
Lines 131 to 135 in 38cefdd
Try upgrading to the latest
beta
by runningnpm install next-auth@beta