Credentials provider: authorize. Custom error types
Unanswered
oxmaster posted this in #help-forum
oxmasterOP
I can return either null or user. How can I set up my user errors, for example, "invalid data" or "the user does not exist". Or are these the very restrictions that are indicated in the warning in the documentation about Credentials provider
3 Replies
oxmasterOP
At the same time, I can't call my "throw new Error()" because I get the error "CallBackRouteError"