inveniosoftware / invenio-oauthclient

Invenio module that provides OAuth web authorization support.
https://invenio-oauthclient.readthedocs.io
MIT License
6 stars 74 forks source link

New Keycloak realm_url (without auth prefix) #323

Closed zefir01 closed 5 days ago

zefir01 commented 6 months ago

Hello. In new versions of Keycloak, the realm URLs have been changed. in older versions: /auth/realms/{realm}/... in new ones: /realms/{realm}/...

Could you add an option to KeycloakSettingsHelper to remove the /auth prefix?

self._realm_url = "{}auth/realms/{}".format(base_url, realm)