oauth2cli
oauth2cli copied to clipboard
add GetCode
Just get code instead of the token, the use case is it can help avoid client-secret hard-coded in Cli, Cli can then request the server which has the secret to relay the flow for exchanging the token.
Hey @thetruechar, FYI: I've made it a bit more extensive, and your PR is also included in mine: https://github.com/int128/oauth2cli/pull/116.