You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
asyncauthorize(credentials,request){// you have access to the original request as wellif(!isValidCredentials(credentials)){thrownewCustomError()}returnawaitgetUser(credentials)// assuming it returns a User or null}
Custom Error here could extend CredentialsSignin error
See: nextauthjs/next-auth#10200
The text was updated successfully, but these errors were encountered: