Skip to content

[Feature Request] Implement usage of Refresh Token #307

@dichternebel

Description

@dichternebel

Tell us about your feature request

It would be great to see an implementation to get the possibility to use the Refresh Token for authorization of a user access.
Currently I only see the possibility to take an existing Access Token and verify it.
If this existing token is no longer valid we can not use the Refresh Token to generate a new Access Token but instead the current user has to deal with a browser popup.

I'm thinking of something like this:
twitch token -r {RefreshToken} or twitch token --refresh {RefreshToken}

If refreshing is possible I would then expect that the new properties are stored and the CLI gives back a valid result like when calling twitch token -v {AccessToken}.

Disclaimer

  • I agree

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions