Commit e5f30c68 authored by eric pellegrini's avatar eric pellegrini

added ported number to keycloak redirect url

parent 4bb1c97c
......@@ -30,7 +30,7 @@ if __name__ == "__main__":
"baseUrl": "/",
"protocol":"openid-connect",
"rootUrl":"http://%s:%s" % (client_ip,client_port),
"redirectUris":["https://%s/*" % client_ip,"http://%s/*" % client_ip],
"redirectUris":["https://%s:%s/*" % (client_ip,client_port),"http://%s:%s/*" % (client_ip,client_port],
"webOrigins":[],
"adminUrl": "",
"serviceAccountsEnabled": True,
......
......@@ -134,6 +134,7 @@ c.SudoSpawner.sudospawner_path = spawner
c.JupyterHub.authenticator_class = KeycloakOAuthenticator
c.OAuthenticator.client_id = "{{ client_id }}"
c.OAuthenticator.client_secret = "{{ client_secret }}"
c.OAuthenticator.oauth_callback_url = "http://%s:$s/hub/oauth_callback" % (c.JupyterHub.ip,c.JupyterHub.port)
# Here are the jupyter infrastructure admins
c.Authenticator.admin_users = {"pellegrini","pinet","hall","caunt","perrin"}
......
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