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

Error message if email is missing #508

Open
phavekes opened this issue Dec 1, 2024 · 0 comments
Open

Error message if email is missing #508

phavekes opened this issue Dec 1, 2024 · 0 comments

Comments

@phavekes
Copy link
Member

phavekes commented Dec 1, 2024

This issue is imported from pivotal - Originaly created at Dec 2, 2020 by Peter Havekes

When no email-adress is returned (or the SAML attribute name is incorrect) the user is returned to the starting page of the AzureMFA gssp, and thinks he's in a loop. A correct error message should de shown

Dec  1 17:37:55 app11.stepup.coin.surf.net stepup-azure-mfa[32267]: {"channel":"request","level":"CRITICAL","message":"Uncaught PHP Exception Error: \"Call to a member function getEmailAddress() on null\" at /opt/stepup/Stepup-Azure-MFA-1.3.1-20201106151639Z-3866bfee49423079300531e89eb69709d25be792/src/Surfnet/AzureMfa/Application/Service/AzureMfaService.php line 193","context":{"exception":{"class":"Symfony\\Component\\Debug\\Exception\\FatalThrowableError","message":"Call to a member function getEmailAddress() on null","code":0,"file":"/opt/stepup/Stepup-Azure-MFA-1.3.1-20201106151639Z-3866bfee49423079300531e89eb69709d25be792/src/Surfnet/AzureMfa/Application/Service/AzureMfaService.php:193"}},"extra":{"art":"13661","server":"azuremfa.surfconext.nl","application":"azure-mfa","request_id":"aef49e1e1bed568ec29de999497caa2d"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: New
Development

No branches or pull requests

1 participant