use generic OIDC for frontend#168
Draft
pmeier wants to merge 5 commits into
Draft
Conversation
- Replace keycloak-js with oidc-spa in frontend/package.json - Update src/auth/index.ts to use oidc-spa/core API - Delete backend/src/ravnar_nebari_chat/_authenticators.py - Replace keycloak values block with oidc in values.yaml - Update frontend configmap to generate auth-config.json - Update deployment to mount auth-config.json instead of keycloak-config.json - Replace keycloak_authenticator with inline BearerTokenAuthenticator/OIDCTokenValidator in config.yaml
pmeier
commented
Jul 12, 2026
| security: | ||
| authenticator: | ||
| cls_or_fn: ravnar_nebari_chat.keycloak_authenticator | ||
| cls_or_fn: _ravnar.authenticators.BearerTokenAuthenticator |
Member
Author
There was a problem hiding this comment.
Use ravnar over _ravnar in this file
| cls_or_fn: _ravnar.authenticators.OIDCTokenValidator | ||
| params: | ||
| issuer: '{{ required "oidc.issuer is required" .Values.oidc.issuer }}' | ||
| default_permissions: |
Member
Author
There was a problem hiding this comment.
We need to properly enumerate all perms for BC
| oidc: | ||
| # -- The OIDC issuer URL (e.g. https://keycloak.example.com/realms/nebari) | ||
| issuer: "" | ||
| # -- The OIDC client ID for the SPA |
Member
Author
There was a problem hiding this comment.
Do we still have a default value?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.