Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Chrome is launched when clicking Cancel on login screen #91

Open
anguscrombie opened this issue Mar 1, 2021 · 1 comment
Open

Chrome is launched when clicking Cancel on login screen #91

anguscrombie opened this issue Mar 1, 2021 · 1 comment

Comments

@anguscrombie
Copy link

I'm using the WinFormsSample project and I'm running into an issue whereby Chrome is being launched and browses to the redirect url when clicking Cancel on the login screen. I'm using the IdentityServer4 sample (https://demo.identityserver.io) but the same thing happens with another auth provider i'm using.

It seems that NavigateError can't tell whether the user has cancelled. I guess in a web application it makes sense to send the user back but in my case i'd like it to just close the form and definitely not launch chrome. Is there a reliable way i can achieve this? Also, apologies if i have raised this in the wrong place, i'm new here :)

@anguscrombie
Copy link
Author

anguscrombie commented Mar 29, 2021

Is anyone able to shed any light on this?

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

No branches or pull requests

1 participant