Skip to content
New issue

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

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

Already on GitHub? # to your account

Device Code Flow addition #316

Merged
merged 2 commits into from
Mar 29, 2024
Merged

Device Code Flow addition #316

merged 2 commits into from
Mar 29, 2024

Conversation

Xemdo
Copy link
Contributor

@Xemdo Xemdo commented Mar 12, 2024

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Problem/Feature

Resolves #313 and fixes #314.

Description of Changes:

  • Adds --dcf flag to twitch token, allowing users to activate Device Code Flow for their User Access Token authentication
  • Adds a new failure message when twitch token -u is used on a Client ID that is set to "Public" Client Type. This is detected by authorization code flow failing with HTTP 400.

Checklist

  • My code follows the Contribution Guide
  • I have self-reviewed the changes being requested
  • I have made comments on pieces of code that may be difficult to understand for other editors
  • I have updated the documentation (if applicable)

@Xemdo Xemdo changed the title Feat 313 fix 314 Device Code Flow addition Mar 12, 2024
@Xemdo Xemdo merged commit bf64ffa into main Mar 29, 2024
8 checks passed
@Xemdo Xemdo deleted the feat-313-fix-314 branch March 29, 2024 19:49
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
1 participant