Commit 0bdb18fb authored by Eric Pellegrini's avatar Eric Pellegrini

fixed bugged with broken oauth logout

parent 3e9aaf41
......@@ -36,8 +36,7 @@ from oauthenticator.generic import GenericOAuthenticator
c.JupyterHub.authenticator_class = GenericOAuthenticator
c.OAuthenticator.client_id = hostname
c.OAuthenticator.client_secret = visa_jupyter_client_secret
c.OAuthenticator.token_url = "https://login.ill.fr/auth/realms/ILL/protocol/openid-connect/token"
c.OAuthenticator.userdata_url = "https://login.ill.fr/auth/realms/ILL/protocol/openid-connect/userinfo"
c.OAuthenticator.logout_url = lambda base_url : "https://login.ill.fr/auth/realms/ILL/protocol/openid-connect/logout"
c.OAuthenticator.userdata_method = "GET"
c.OAuthenticator.userdata_params = {"state": "state"}
c.OAuthenticator.username_key = "preferred_username"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment