Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Keycloak Client from jupyterhub_config.py.j2 [enhancement] #994

Closed
danlester opened this issue Jan 14, 2022 · 1 comment
Closed

Comments

@danlester
Copy link
Contributor

Description

The jupyterhub_config.py.j2 file uses OAuth for login from Keycloak, but also fetches group and user info directly from keycloak via its own REST API. It doesn't need to do that because these details should be provided through userinfo in OAuth2, if configured correctly.

That would need to include showing group attributes so that profile lists are present.

Value/benefit

This will simplify the code, make it more secure and less likely to fall over. It will also speed things up.

@costrouc
Copy link
Member

costrouc commented Feb 4, 2022

@danlester this was resolved with the #1003 PR. keycloak client is no longer used and userinfo is directly used.

@costrouc costrouc closed this as completed Feb 4, 2022
Repository owner moved this from Needs Triage 🔍 to Done 💪🏾 in QHub Project Mangement 🚀 Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants