FormidableLabs / react-native-app-auth

React native bridge for AppAuth - an SDK for communicating with OAuth2 providers
https://commerce.nearform.com/open-source/react-native-app-auth
MIT License
1.99k stars 438 forks source link

EphemeralSession for Android? #843

Closed kierancrown closed 8 hours ago

kierancrown commented 1 year ago

Issue

I'm attempting to allow multiple logins via Reddit to my app. I'm able to set iosPrefersEphemeralSession: true in my config for iOS and this works fine. However on Android I can't see a way to clear the previous login as when the browser opens the previous login is still there.


Environment

lucadegasperi commented 1 year ago

Same issue over here. On iOS things work fine but not on Android, any way to invalidate the session on android?

kimchipork commented 1 year ago

same issue on Azure B2C. were you able to solve the issue?

mrzslr commented 4 months ago

I have it on iOS (Azure B2C), any updates on this? it shows the previous user's session. with iosPrefersEphemeralSession: true it works because it asks for login, but I don't want the user to be logged in again. for example if they want edit their details/profile.

vizcay commented 1 month ago

This will be useful.

carbonrobot commented 8 hours ago

Duplicate of https://github.com/FormidableLabs/react-native-app-auth/issues/873