-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
fix(core): add error code
to SignInResponse
#10943
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Ignored Deployments
|
@kaioduarte is attempting to deploy a commit to the authjs Team on Vercel. A member of the Team first needs to authorize it. |
+1 |
+1 need this too |
@ndom91 @ThangHuuVu can we have your review on this one? |
code
to SignInResponse
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #10943 +/- ##
==========================================
- Coverage 40.77% 40.76% -0.01%
==========================================
Files 177 177
Lines 28022 28027 +5
Branches 1238 1244 +6
==========================================
Hits 11426 11426
- Misses 16596 16601 +5 ☔ View full report in Codecov by Sentry. |
thanks @kaioduarte , merging this & release 🔜 |
Another update in the beta 19 may be conflicting with this change. After updating to Tested this by using the exact same code in beta 18 and then beta 19, on 18 it will return In 19, the return url from credentials endpoint doesnt contain the Edit: More Clarification Beta 18 Return URL: |
same issue here |
any updates on this issue? |
add error code to SignInResponse Co-authored-by: Nico Domino <[email protected]> Co-authored-by: Thang Vu <[email protected]>
add error code to SignInResponse Co-authored-by: Nico Domino <[email protected]> Co-authored-by: Thang Vu <[email protected]>
☕️ Reasoning
Makes
code
property from custom error available on the client side. See:authorize()
error #9871 (comment)🧢 Checklist
🎫 Affected issues
📌 Resources