oauth2cli icon indicating copy to clipboard operation
oauth2cli copied to clipboard

add GetCode

Open thetruechar opened this issue 3 years ago • 1 comments

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.

thetruechar avatar Aug 08 '22 00:08 thetruechar

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.

trietsch avatar Dec 09 '22 22:12 trietsch