# Deprecated redirect URI in SWAN KeyCloakAuthenticator

**URL:** <https://swan-community.web.cern.ch/t/deprecated-redirect-uri-in-swan-keycloakauthenticator/804>\
**Category:** Feedback, proposals and new ideas\
**Created:** [November 22, 2024, 10:44am UTC](https://swan-community.web.cern.ch/t/deprecated-redirect-uri-in-swan-keycloakauthenticator/804 "2024-11-22T10:44:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jezwilkinson](https://swan-community.web.cern.ch/user_avatar/swan-community.web.cern.ch/jezwilkinson/32/215_2.png) [@jezwilkinson](https://swan-community.web.cern.ch/u/jezwilkinson)\
**Post date:** [November 22, 2024, 10:44am UTC](https://swan-community.web.cern.ch/t/deprecated-redirect-uri-in-swan-keycloakauthenticator/804/1 "2024-11-22T10:44:50Z")

</div>

Hi, while trying to use the Swan KeyCloakAuthenticator extension for a separate JupyterHub instance, I came across an error in KeyCloak that “?redirect\_uri” for the logout endpoint is deprecated and should use “?post\_logout\_redirect\_uri” plus either a token hint or the client ID instead ([KeyCloakAuthenticator: 'redirect\_uri' parameter is deprecated for post-logout redirect in Keycloak · Issue #125 · swan-cern/jupyterhub-extensions · GitHub](https://github.com/swan-cern/jupyterhub-extensions/issues/125))

I made a pull request already at [KeyCloakAuthenticator: switch "redirect\_uri" for "post\_logout\_redirect\_uri" in logout config by jezwilkinson · Pull Request #126 · swan-cern/jupyterhub-extensions · GitHub](https://github.com/swan-cern/jupyterhub-extensions/pull/126) that would address this (using the client\_id in this case) - not sure if this is the right forum for it but I also don’t know if the jupyterhub-extensions repo is actively monitored, and maybe someone here knows who would be the right person to contact about it.

---

<div class="post-metadata">

**Author:** ![etejedor](https://swan-community.web.cern.ch/letter_avatar_proxy/v4/letter/e/e79b87/32.png) [@etejedor](https://swan-community.web.cern.ch/u/etejedor)\
**Post date:** [November 22, 2024, 12:45pm UTC](https://swan-community.web.cern.ch/t/deprecated-redirect-uri-in-swan-keycloakauthenticator/804/2 "2024-11-22T12:45:45Z")

</div>

Dear Jeremy,

Thank you for making the PR, let’s continue the discussion there.

Best,

Enric
