Password Grant in DOT 4.0 #4013

Open
opened 2026-10-01 23:04:24 +02:00 by nik · 0 comments
Owner
2026-10-01 23:03:33,324 WARNING oauth2_provider[31]: The OAuth 2.0 resource owner password credentials grant is discouraged by RFC 9700 (OAuth 2.0 Security Best Current Practice). It is currently allowed because OAUTH2_PROVIDER["COMPLIANT_BCP_RFC9700_PASSWORD_GRANT"] is False; this default is scheduled to change to True in django-oauth-toolkit 4.0. Set OAUTH2_PROVIDER["COMPLIANT_BCP_RFC9700_PASSWORD_GRANT"] to True to adopt the compliant behavior now.
```plain 2026-10-01 23:03:33,324 WARNING oauth2_provider[31]: The OAuth 2.0 resource owner password credentials grant is discouraged by RFC 9700 (OAuth 2.0 Security Best Current Practice). It is currently allowed because OAUTH2_PROVIDER["COMPLIANT_BCP_RFC9700_PASSWORD_GRANT"] is False; this default is scheduled to change to True in django-oauth-toolkit 4.0. Set OAUTH2_PROVIDER["COMPLIANT_BCP_RFC9700_PASSWORD_GRANT"] to True to adopt the compliant behavior now. ```
nik changed title from Password Grant in Django 4.0 to Password Grant in DOT 4.0 2026-10-01 23:28:53 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
aleksis/AlekSIS-Core#4013
No description provided.