Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dafreaki opened this issue Dec 21, 2021 · 1 comment
Open
Labels
documentation Improvements or additions to documentation enhancement New feature or request mock-api Relates to the `mock-api` feature.

Comments

@dafreaki
Copy link
Contributor

Currently only ?grant_type=client_credentials is supported

@lleadbet lleadbet added documentation Improvements or additions to documentation enhancement New feature or request labels Dec 22, 2021
@lleadbet lleadbet added the mock-api Relates to the `mock-api` feature. label Feb 22, 2022
@lleadbet
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request mock-api Relates to the `mock-api` feature.
Projects
None yet
Development

No branches or pull requests

2 participants