Open rashtao opened 6 years ago
When using Twitch API OAuth 2.0 authorization code flow, I get from https://api.twitch.tv/kraken/oauth2/authorize the following token:
https://api.twitch.tv/kraken/oauth2/authorize
{ "access_token": "xxxxxxxx", "refresh_token": "yyyyyyyyyy", "scope": ["user_read"], "expires_in": 13293 }
that is invalid, because the token_type field is missing. According to OAuth 2.0 RFC https://tools.ietf.org/html/rfc6749#section-5.1, the the token_type field is required.
token_type
When using Twitch API OAuth 2.0 authorization code flow, I get from
https://api.twitch.tv/kraken/oauth2/authorize
the following token:that is invalid, because the
token_type
field is missing. According to OAuth 2.0 RFC https://tools.ietf.org/html/rfc6749#section-5.1, the thetoken_type
field is required.