Add missing issuer to discord provider config
☕️ Reasoning
The discord provider currently doesn't work out of the box and needs the issuer to be manually added like so:
Discord({
issuer: "https://discord.com",
}),
I believe this should be in the provider config by default as the provider does not work at all without adding this right now.
🧢 Checklist
- [x] Documentation
- [x] Tests
- [x] Ready to be merged
🎫 Affected issues
Fixes: #12687
📌 Resources
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| auth-docs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 23, 2025 0:06am |
1 Skipped Deployment
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| next-auth-docs | ⬜️ Ignored (Inspect) | Visit Preview | Feb 23, 2025 0:06am |
@jariz is attempting to deploy a commit to the authjs Team on Vercel.
A member of the Team first needs to authorize it.
@balazsorban44 when the current config stops working is if users request the openid scope, at that point an ID Token is returned and validation fails, the expected issuer is absolutely required in that case.