add missing step for credntials provider
- [x ] Documentation
- [ ] Tests
- [ ] Ready to be merged
Credntials provider needs the strategy inside the session parameter to be set to `jwt', however this is not mentioned in the docs.
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 | May 10, 2025 0:23am |
1 Skipped Deployment
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| next-auth-docs | ⬜️ Ignored (Inspect) | Visit Preview | May 10, 2025 0:23am |
@elbasel42 is attempting to deploy a commit to the authjs Team on Vercel.
A member of the Team first needs to authorize it.
There's no need to manually set the session strategy when using the Credentials provider—auth.js sets it by default. You can find more details in the official documentation: Session Strategies
@halvaradop my testing summarized that it doesn't work without setting the strategy, can you please double check?