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

Where does googleUser come from? #256

Open
csdal opened this issue Nov 9, 2021 · 1 comment
Open

Where does googleUser come from? #256

csdal opened this issue Nov 9, 2021 · 1 comment

Comments

@csdal
Copy link

csdal commented Nov 9, 2021

providerData[i].uid === googleUser.getBasicProfile().getId()) {

I know that firebaseUser comes from this ( result.user):

signInWithPopup(auth, provider)
      .then((result) => {
        // This gives you a Google Access Token. You can use it to access the Google API.
        const credential = GoogleAuthProvider.credentialFromResult(result);
        const token: string | undefined = credential?.accessToken;
        // The signed-in user info.
        const user = result.user;
.....

But where does googleUser come from?

@heloineto
Copy link

I'm having the same issue. I've looked for hours on the docs and on the internet and had no luck :(

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

No branches or pull requests

2 participants