simple_auth icon indicating copy to clipboard operation
simple_auth copied to clipboard

Authenticator doesn't cancel after dismissing on iOS and macOS

Open thomasostfeld opened this issue 3 years ago • 1 comments

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.

thomasostfeld avatar Jun 16 '21 13:06 thomasostfeld

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

einjunge99 avatar Sep 23 '21 18:09 einjunge99