Skip to content
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

Chapter 15: Error type should be 'CallbackRouteError' #734

Open
shubham-j-sde opened this issue Jun 3, 2024 · 3 comments
Open

Chapter 15: Error type should be 'CallbackRouteError' #734

shubham-j-sde opened this issue Jun 3, 2024 · 3 comments

Comments

@shubham-j-sde
Copy link

if (error instanceof AuthError) {

  1. CredentialsSignin is not an Instance of AuthError
  2. In case of uncaught erros by signIn CallbackRouteError, also as it mentions, one can affirm with stackTrace at [auth][cause]
  3. I have been following this course checked by logging error, the code string is"credentials" for the [cause] and not for the original error, and error.type : 'CallbackRouteError'

Though, even after reading CredentialsSignin docs I am not quite sure how/ where to capture this error.

@shubham-j-sde
Copy link
Author

If you allow, I can solve this bug, raised this ticket to confirm by claims.
Thanks

@gmr458
Copy link

gmr458 commented Jun 12, 2024

@shubham-j-sde have you found a solution for this?

@shubham-j-sde
Copy link
Author

I'm not sure what you are looking for @gmr458, simply the tutorial code needs an update.
to replace CredentialsSignin with CallbackRouteError

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants