Is there a way to disable authentication persistence? #6729
Replies: 2 comments 1 reply
-
Hi there! This sounds security-related and in my experience any question that may be security related should be a) as detailed as possible (exactly what do you mean by persistence? What is it exactly that you assert is being persisted that you do not want to persist, and where is it being persisted?) and it should be b) asked in the authoritative repositories - that is you should ask upstream in firebase-ios-sdk and firebase-android-sdk repositories as they will be able to discuss/answer authoritatively, whereas I would be a poor facade for their actual answers |
Beta Was this translation helpful? Give feedback.
-
https://firebase.google.com/docs/auth/web/auth-state-persistence
Disabling authentication persistence is desirable for testing, so the app forgets the user on exit. I'm trying to test on iOS with Detox and the authentication state persists even with Detox uninstalling and reinstalling the app. Firebase docs describe this API, and specifically mention React Native, but I'm not able to find it in RNFirebase. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello guys, Is there a way to disable authentication persistence for both iOS/Android?
Beta Was this translation helpful? Give feedback.
All reactions