firebase / firebase/firebase-unity-sdk

[FR] Add option not to create new user for SignInWithCredentialAsync and SignInWithProvider

Open
#655 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.