Closed Zenahr closed 2 years ago
Related to https://github.com/singingwolfboy/flask-dance/issues/123
I've tried out the configuration proposed in https://github.com/singingwolfboy/flask-dance/issues/123#issuecomment-691333196
twitch_bp = OAuth2ConsumerBlueprint( "twitch", __name__, client_id=client_id, client_secret=client_secret, scope=scope, base_url="https://api.twitch.tv/helix/", authorization_url="https://id.twitch.tv/oauth2/authorize", token_url="https://id.twitch.tv/oauth2/token", redirect_url=redirect_url, redirect_to=redirect_to, login_url=login_url, authorized_url=authorized_url, session_class=session_class, storage=storage, token_url_params={"include_client_id": True} ) Add that token_url_params. I also changed the base_url, don't think that matters.
twitch_bp = OAuth2ConsumerBlueprint( "twitch", __name__, client_id=client_id, client_secret=client_secret, scope=scope, base_url="https://api.twitch.tv/helix/", authorization_url="https://id.twitch.tv/oauth2/authorize", token_url="https://id.twitch.tv/oauth2/token", redirect_url=redirect_url, redirect_to=redirect_to, login_url=login_url, authorized_url=authorized_url, session_class=session_class, storage=storage, token_url_params={"include_client_id": True} )
Add that token_url_params. I also changed the base_url, don't think that matters.
Originally posted by @vincentjr in https://github.com/singingwolfboy/flask-dance/issues/123#issuecomment-691333196
The MissingTokenError persists.
Solved by generating a new client secret in the Twitch dashboard. If you experience this error I highly suggest trying that out as it seems like Twitch has problems storing new configurations.
Related to https://github.com/singingwolfboy/flask-dance/issues/123
I've tried out the configuration proposed in https://github.com/singingwolfboy/flask-dance/issues/123#issuecomment-691333196
Originally posted by @vincentjr in https://github.com/singingwolfboy/flask-dance/issues/123#issuecomment-691333196
The MissingTokenError persists.