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

Consent Deny by user doesn't redirect to application start page #258

Open
csalgo70 opened this issue Aug 1, 2020 · 0 comments
Open

Consent Deny by user doesn't redirect to application start page #258

csalgo70 opened this issue Aug 1, 2020 · 0 comments

Comments

@csalgo70
Copy link

csalgo70 commented Aug 1, 2020

This issue is for a: (mark with an x)

- [X ] bug report -> please search issues before submitting
- [X ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

User signs-in first time by clicking a Sign-In button on the web app's home page.
This then redirects the user to login with MSA.
He is presented with the consent dialog
He realizes he needs to consent to use the application and decides to use a different msa to use with this app.
Hence he choose to click "No" on consent dialog.
The app logs him out on detecting this.

But it doesn't redirect to the application start page or any postLogoutRedirectUri given. It simply logs the user out and stays with the familiar "You have signed out of your account....its a good idea to close all browser windows"

Expected/desired behavior

Given this scenario why not redirect in this case also ? Why does it ( seems by choice ) not redirect to start page or postLogoutRedirectUri, when the user consent is denied ?

Library versions

  • react-aad-msal: [ 2.3.5]

Not a lib issue ?

Maybe this is not an issue with this library but that is how AzureAD / MSAL works ?

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

No branches or pull requests

1 participant