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

Consolidate self user info API requests #3223

Open
leafty opened this issue Jun 26, 2024 · 0 comments
Open

Consolidate self user info API requests #3223

leafty opened this issue Jun 26, 2024 · 0 comments
Labels

Comments

@leafty
Copy link
Member

leafty commented Jun 26, 2024

Information about the user is queried in different ways:

  • /ui-server/api/data/user -> provides user information from data-services
  • /ui-server/api/kc/realms/Renku/protocol/openid-connect/userinfo -> provides user information from Keycloak
  • /ui-server/api/user -> provides user information from the internal GitLab instance

See SwissDataScienceCenter/renku-data-services#287: we should consolidate the first and second API requests to only query data-services. This will be possible once data-services provides the is_admin field.

Also note that /ui-server/api/user should be moved down the App tree to only happen in Renku 1.0 routes in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant