urbanplatform / django-keycloak-auth

Middleware to allow authorization using Keycloak and Django for django-rest-framework (DRF). This package should only be used in projects starting from scratch, since it overrides the users' management.
MIT License
32 stars 14 forks source link

Could we make URLs more configurable? #27

Closed Wissperwind closed 2 years ago

Wissperwind commented 2 years ago

I would love to use this library without changing the code. The URLs are configured in urls.py. In my case I have to remove the /auth from every url because our IT has removed that from the keycloak urls. Can we add an option to this library to make URLs configurable in settings.py?

moritz89 commented 2 years ago

I've created a proposal MR: https://github.com/urbanplatform/django-keycloak-auth/pull/29

Best is if you test it yourself and as I'm not an official maintainer of this project, you'd need to get their approval as well.

Wissperwind commented 2 years ago

Thanks alot. Looking forward to their response.

moritz89 commented 2 years ago

We've gotten the ball rolling again and will be pushing the merge requests one after another and then also creating a new release for this library

uw-rvitorino commented 2 years ago

Closing this issue since we've just merged #29 🎉 🥳 🥂