Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: keep existing users signed in when moving to native SDK #714

Open
3 of 13 tasks
DontGiveAFck opened this issue Sep 10, 2024 · 1 comment
Open
3 of 13 tasks

feat: keep existing users signed in when moving to native SDK #714

DontGiveAFck opened this issue Sep 10, 2024 · 1 comment

Comments

@DontGiveAFck
Copy link

DontGiveAFck commented Sep 10, 2024

Plugin(s)

  • Analytics
  • App
  • App Check
  • Authentication
  • Crashlytics
  • Cloud Firestore
  • Cloud Functions
  • Cloud Messaging
  • Cloud Storage
  • Performance
  • Remote Config

Current problem

Users that were signed in with js sdk in old app version should be kept signed in in new app version that uses native sdk.

Preferred solution

Not sure what exactly should be implemented, maybe signInWithCredential method should help - so we can get token id with js sdk and use it to login with newly implemented signInWithCredential in native sdk

Alternative options

No response

Additional context

No response

Before submitting

@robingenz
Copy link
Member

I'm not sure if this is possible. It is definitely not possible with all OAuth providers. Even for users who are logged in with email/password, I can't think of a possibility right now. You often need information such as the access token or a secret that is only available at the time of login. Feel free to create a PR and i will take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants