Skip to content

gws auth login ignores -s / --services #577

@jshute96

Description

@jshute96

When I try to log in with selected services using -s or --services

gws auth login --services gmail.readonly,drive,documents.readonly

It still pops up the menu screens to select services, with a bunch of random services (different than ones in my flag) preselected.

Depending what I pass for the flag, the menu shows a subset of all possible scopes, but I don't understand what's filtered.

In some cases, pressing escape on that page gives me a second page with another menu with just a few items, also not matching what I asked for.

Then the login URL it gives out also doesn't match what I asked for.

I don't understand what going on here.

Expected behavior:
Just directly give me a login URL to use, with the scopes I asked for, without going through menu screens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions