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.
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.