flutter_appauth icon indicating copy to clipboard operation
flutter_appauth copied to clipboard

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

Open dconlisk opened this issue 3 years ago • 2 comments

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 avatar Jul 14 '22 13:07 dconlisk

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.

dconlisk avatar Jul 15 '22 09:07 dconlisk

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

ziegler-daniel avatar Jul 18 '22 05:07 ziegler-daniel

Forgot to close this off. Thanks again for the PR

MaikuB avatar Oct 08 '22 05:10 MaikuB