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

Can't flash an error message to the login page when ADFS login is used. #7

Open
adrianz-kainos opened this issue Sep 19, 2016 · 0 comments

Comments

@adrianz-kainos
Copy link
Collaborator

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).

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

No branches or pull requests

1 participant