The grant_type property of the OAuth2Request class should refer to the data collection (consistent with the other properties response_type, client_id, etc. and not through the base form. Without this change the following grant setting will not function:
TOKEN_ENDPOINT_HTTP_METHODS = ["GET"]
What kind of change does this PR introduce? (check at least one)
[X] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Other, please describe:
Does this PR introduce a breaking change? (check one)
[ ] Yes
[X] No
[X] You consent that the copyright of your pull request source code belongs to Authlib's author.
The
grant_type
property of theOAuth2Request
class should refer to thedata
collection (consistent with the other propertiesresponse_type
,client_id
, etc. and not through the baseform
. Without this change the following grant setting will not function:What kind of change does this PR introduce? (check at least one)
Does this PR introduce a breaking change? (check one)