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

Authenticator doesn't cancel after dismissing on iOS and macOS #162

Open
ozzy91 opened this issue Jun 16, 2021 · 1 comment
Open

Authenticator doesn't cancel after dismissing on iOS and macOS #162

ozzy91 opened this issue Jun 16, 2021 · 1 comment

Comments

@ozzy91
Copy link

ozzy91 commented Jun 16, 2021

I'm implementing authentication with Keycloak, so I'm not using SSO.

In that case the plugin opens a SafariViewController on iOS. When clicking the "Done" button of the view controller nothing happens in the plugin and the authenticate Future doesn't complete or fail. Same behaviour on macOS

My expectation was that the Future completes with a CancelledException error. It works that way on Android at least.

Right now there is no way of telling if the user cancelled the authentication flow or just takes a long time to finish.

@einjunge99
Copy link
Contributor

einjunge99 commented Sep 23, 2021

Same here. Any light as to what has to be done to get it work correctly? @Clancey

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

2 participants