Skip to content

Scopes customization #268

@Amper

Description

@Amper

Hello.

It seems that if I use email as the main user identity in my application, then there is no good way to use Google provider (I haven't checked the others yet) because scopes contains only https://www.googleapis.com/auth/userinfo.profile and doesn't contain https://www.googleapis.com/auth/userinfo.email so information about the user's email address is not returned.
Or did I miss something and there is a way to get an email without first storing the mapping ID from Google <-> Email?

If the code owners don't mind conceptually, then I can send a PR that will add the ability to customize the scope list (or perhaps they will suggest some other solution).

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