The server I am working with does not support code as a response type. I attempted to use flask-oauth but it does not support setting a response type. I was wondering whether it was possible to configure flask-oauth to change it to token. I have tried doing it by setting:
request_token_params = {'response_type': 'token', 'scope':'read'}
But I get the error
prepare_grant_uri() got multiple values for keyword argument 'response_type'
If not, does anyone know a python library that supports oauth2 and setting the response type.