django-rest-framework-keycloak package provides Keycloak support.
https://github.com/marcospereirampj/django-rest-framework-keycloak
stable