Skip to content

firebase auth addScope question #317

Closed
@qiquanlu

Description

@qiquanlu

Hi firebase team,

I followed your doc here

  • 2, Specify additional OAuth 2.0 scopes.

I added following code try to get user's firstName & lastName value

provider.addScope('https://www.googleapis.com/auth/userinfo.profile') 

I can see the values are being returned for the post request https://identitytoolkit.googleapis.com/v1/accounts:signInWithIdp?key=xxxxxxxxxxxxxx when inspecting browser network section,

but not be able to get it from the firebase response.

Is this an expected behavior or there is something I missed?

Thanks

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