Clancey / simple_auth

The Simplest way to Authenticate in Flutter
MIT License
352 stars 108 forks source link

Setting useEmbeddedBrowser flag to true shows SFSafariViewController instead of an embedded WKWebView. #142

Open manumohn opened 4 years ago

manumohn commented 4 years ago

Some digging around in the commit and version history revealed that this code block was removed while bumping the version from 2.0.5 to 2.0.6.

if(authenticator.useEmbeddedBrowser) [WebAuthenticatorWindow presentAuthenticator: authenticator]; else [SFSafariAuthenticator presentAuthenticator:authenticator];

This diff - https://github.com/Clancey/simple_auth/commit/7c48f00ca39ace94e81d7db384df08629ef7e665#diff-a55573371ef1a391bea5c94e994333ca

We were using the embedded browser for our Logins using KeyCloak.

The commit itself didn't have much info regarding this change. Is there an another way to use embedded browser in iOS?