Skip to content

Where does the "googleUser" variable come from? How do i get it? #278

Open
@heloineto

Description

@heloineto

Where does the "googleUser" variable come from? How do i get it?

import { GoogleAuthProvider } from "firebase/auth";
const credential = GoogleAuthProvider.credential(
googleUser.getAuthResponse().id_token);

The snippet of code mentions a variable called "googleUser" which has googleUser.getAuthResponse().id_token

I do not know where this variable comes from and how to get it. I've looked around the docs and internet for hours and had no luck.

This is my first issue on GitHub, I'm sorry if I'm doing it wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions