简体   繁体   中英

Integrate Keycloak 13.x with Django 4.x and OIDC

I need to integrate Keycloak 13.0.0 authentication/authorization to a Django 4.0.6 project using OIDC. There are a couple of libraries that claim to integrate Keycloak and Django (for example django-keycloak, boss-oidc) but they haven't been updated in years, or are explicitly not compatible with newer versions of Django. Are there any updated (and preferably well-documented) libraries to do this integration?

You can use django-keycloak , I created a working fork here for keycloak > v4.0 and tested with

  • keycloak v18.0 & v19.0
  • Django v4.1.1

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM