We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using the passport-local Strategy, we display errors to the users this way: return cb(null, false, { message: 'Incorrect login'});
passport-local
return cb(null, false, { message: 'Incorrect login'});
passport-azure-ad OIDCStrategy however does not accept such a payload in the third argument of the callback function.
passport-azure-ad
I wanted to flash an error message when an ADFS user is disabled (they are enabled by default, so it is a very rare case).
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When using the
passport-local
Strategy, we display errors to the users this way:return cb(null, false, { message: 'Incorrect login'});
passport-azure-ad
OIDCStrategy however does not accept such a payload in the third argument of the callback function.I wanted to flash an error message when an ADFS user is disabled (they are enabled by default, so it is a very rare case).
The text was updated successfully, but these errors were encountered: