Is it needed to force user refresh token when you use firestore? #11178
Answered
by
morganchen12
jesus-mg-ios
asked this question in
Q&A
-
Hi: Right now I'm using firestore SDK (no the api REST) in a long life iOS software. I'm wondering if it's needed to refresh the user token or firestore piece does it by itself. Thanks in advance |
Beta Was this translation helpful? Give feedback.
Answered by
morganchen12
Apr 26, 2023
Replies: 1 comment
-
The user token only needs to be refreshed for account-sensitive operations. You can, if you'd like, manually determine if your Firestore directory contains user-sensitive data and then require a user login refresh before accessing or modifying that data. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jesus-mg-ios
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The user token only needs to be refreshed for account-sensitive operations. You can, if you'd like, manually determine if your Firestore directory contains user-sensitive data and then require a user login refresh before accessing or modifying that data.