Skip to content

gapi.auth2.authorize does not take login_hint into account when passing the User ID #567

@remideneleaodocs

Description

@remideneleaodocs

When passing the Google User ID as the login_hint property of the gapi.auth2.authorize no account is preselected. Instead the whole list of user accounts is displayed. It only works when providing the User Email Address instead of his User ID contrary to what is explained in the documentation:

The email, or User ID, of a user to pre-select in the sign-in flow. This is susceptible to modification by the user, unless prompt: "none" is used.

Note that I checked that the User ID was valid (and in my case it is provided by the Google Drive UI integration as the userId parameter)

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