1
我正在使用的服務器不支持將代碼作爲響應類型。我試圖使用flask-oauth,但它不支持設置響應類型。我想知道是否可以配置flask-oauth將其更改爲令牌。我試圖通過設置這樣做:Python庫支持設置oauth response_type
request_token_params = {'response_type': 'token', 'scope':'read'}
但我得到的錯誤
prepare_grant_uri() got multiple values for keyword argument 'response_type'
如果沒有,沒有人知道它支持的oauth2並設置響應類型一個Python庫。