Replies: 1 comment 9 replies
-
I've never contemplated that use case, so I'm not sure at all, sorry. I'm not aware of any APIs that let you set an externally fetched firebase user auth token into the native SDKs. If I understand correctly they assume you will use native auth methods to authenticate, and they will handle token creation/exchange and give the token to you, with no possibility for the reverse path |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a hybrid RN app where much of the UI is embedded in a WebView and some of it is in RN screens. I'm using
@react-native-firebase/auth
to interact with Firebase from the RN screens, but the user logs in via the web app in the WebView.How can I use the tokens from the authenticated user in the web view to set the authenticated user in RN? In other words: I want to sync login state between RN and web.
Beta Was this translation helpful? Give feedback.
All reactions