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
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_typeparameter, 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_methodCommand:
./oidc-cli -verbose authorization_code \ -issuer https://accounts.google.com \ -client-id $CLIENT_ID \ -pkce \ -custom response_type=tokenGCP documentation