Clancey / simple_auth

The Simplest way to Authenticate in Flutter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

manumohn opened this issue · comments

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 -
7c48f00#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?