simple_auth
simple_auth copied to clipboard
Authenticator doesn't cancel after dismissing on iOS and macOS
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.
Same here. Any light as to what has to be done to get it work correctly? @Clancey