firebase / firebase/firebase-unity-sdk
[FR] Add option not to create new user for SignInWithCredentialAsync and SignInWithProvider
Open
api: auth
type: feature request
- Dominant language
- C#
- Stars
- 320
- Forks
- 60
- Avg merge
- 11h 15m
- Merged PRs (30d)
- 11
Description
### Feature proposal
Currently `FirebaseAuth.SignInWithCredentialAsync` creates new user if there is no user linked with that credential.
This behavior overwrites the currently logged-in user with the new user, but if the user with the credentials is not found, I want to keep the already logged-in user information.
Is there any plan of adding an option to `SignInWithCredentialAsync` / `SignInWithProviderAsync` to not to create new user when no user was previously logged in?
Contributor guide
Assessment
This issue has not been assessed yet.