twitch-cli icon indicating copy to clipboard operation
twitch-cli copied to clipboard

add support in the mock-api for auth/token?grant_type=authorization_code

Open dafreaki opened this issue 3 years ago • 1 comments

Currently only ?grant_type=client_credentials is supported

dafreaki avatar Dec 21 '21 01:12 dafreaki

Thinking through this, unfortunately I don't know if it makes sense to support this off the cuff; to support this, we'd need some sort of pseudo-login system as well, including a basic UI.

It's not out of the question, but definitely a backlog. We support getting access tokens via the custom user_token grant, noted here: https://github.com/twitchdev/twitch-cli/blob/main/docs/mock-api.md#auth-namespace

lleadbet avatar Feb 22 '22 14:02 lleadbet