Skip to content

GCP PKCE flow without code_challenge ? #114

Description

@arichtman-srt

Hi - thanks for this handy tool!

I'm trying to get a token response from GCP's Oauth - so not specifying the client secret.
There doesn't seem to be an option for setting response_type parameter, but I was able to work around that with -custom.

The issue I'm facing now is I can't see a way to remove the code challenge from the initial redirect, so then GCP complains.

Error: Parameter not allowed for this message type: code_challenge_method

Command:

./oidc-cli -verbose authorization_code \
-issuer https://accounts.google.com \
-client-id $CLIENT_ID \
-pkce \
-custom response_type=token

GCP documentation

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions