nextauthjs / next-auth

Authentication for the Web.
https://authjs.dev
ISC License
22.87k stars 3.08k forks source link

chore(examples): use correct http code in express config #10901

Closed uhidontkno closed 4 weeks ago

uhidontkno commented 1 month ago

☕️ Reasoning

The wrong HTTP response code is being used. Instead of HTTP 400 (Bad Request) use HTTP 401 (Unauthorized).

The other things in the pull request template have been removed as they are not applicable. It is a minor fix.

vercel[bot] commented 1 month ago

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 15, 2024 9:15am
1 Ignored Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **next-auth-docs** | ⬜️ Ignored ([Inspect](https://vercel.com/authjs/next-auth-docs/Ghk6uAmxs3i8ysu9K4ks6R45GTrD)) | [Visit Preview](https://next-auth-docs-git-fork-uhidontkno-patch-2-authjs.vercel.app) | | May 15, 2024 9:15am |
vercel[bot] commented 1 month ago

@uhidontkno is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.