django-oauth-toolkit
django-oauth-toolkit copied to clipboard
Client credentials app throws assertion on auth code flow
Fixes #958
Description of the Change
If you try and use a client credentials app as an authorization code app flow it will cause an assertion error to be thrown, with this PR the return response has 400 status code.
Checklist
- [X] PR only contains one change (considered splitting up PR)
- [X] unit-test added
- [ ] documentation updated
- [X]
CHANGELOG.md
updated (only for user relevant changes) - [X] author name in
AUTHORS
builds were failing earlier. lets See
I've pushed some simple flake8 changes but there are still several errors in this PR.