MaikuB / flutter_appauth

A Flutter wrapper for AppAuth iOS and Android SDKs
270 stars 243 forks source link

When using endSession, the popup on iOS says "Sign In" #353

Closed dconlisk closed 1 year ago

dconlisk commented 2 years ago

The popup message that appears on logging in (calling authorizeAndExchangeCode) and on logging out (calling endSession) before the browser is opened is the same:

"app_name" Wants to Use "domain_name" to Sign In
This allows the app and website to share information about you.

Is this configurable in some way? The flow is perfect, apart from the potential to confuse users who are trying to log out.

Thanks.

dconlisk commented 2 years ago

We've noticed that you can use the preferEphemeralSession parameter for the authorizeAndExchangeCode call to prevent the popup from appearing on sign-in.

Is it possible to do something similar for the endSession call?

Could we use the additionalParameters for this?

Thanks.

ziegler-daniel commented 2 years ago

Some days ago, I created a PR to add the preferEphemeralSession option to the endSession call. See https://github.com/MaikuB/flutter_appauth/pull/349

MaikuB commented 1 year ago

Forgot to close this off. Thanks again for the PR