Adding skills for oidc, update overall skills#1289
Open
muralibasani wants to merge 1 commit into
Open
Conversation
HelenMel
reviewed
May 21, 2026
| description: Context for Karapace's OIDC + basic-auth implementation across Schema Registry (SR) and REST Proxy (RP). Use when working on token validation, JWKS, token forwarding from RP to SR, schema-client cache partitioning, role-based authz, or basic-auth coexistence. Triggers - files under src/karapace/api/oidc/, src/karapace/api/middlewares/, src/karapace/core/auth.py, src/karapace/core/serialization.py (sr_authorization_ctx, _token_fingerprint), src/karapace/kafka_rest_apis/__init__.py (publish/fetch gates), or any change to sasl_oauthbearer_* config. | ||
| --- | ||
|
|
||
| # Karapace OIDC & Auth — Architecture Reference |
Contributor
There was a problem hiding this comment.
Architecture Reference more efficiently have in a sec/karapace/core as a AGENT.md and CLAUDE.md
HelenMel
reviewed
May 21, 2026
| @@ -0,0 +1,228 @@ | |||
| --- | |||
| name: oidc-auth | |||
| description: Context for Karapace's OIDC + basic-auth implementation across Schema Registry (SR) and REST Proxy (RP). Use when working on token validation, JWKS, token forwarding from RP to SR, schema-client cache partitioning, role-based authz, or basic-auth coexistence. Triggers - files under src/karapace/api/oidc/, src/karapace/api/middlewares/, src/karapace/core/auth.py, src/karapace/core/serialization.py (sr_authorization_ctx, _token_fingerprint), src/karapace/kafka_rest_apis/__init__.py (publish/fetch gates), or any change to sasl_oauthbearer_* config. | |||
Contributor
There was a problem hiding this comment.
'Context for Karapace's OIDC'
Not really Job for a skill IMHO. A skill might be an example of karapace starting and validating each of them.
For context, better just include an exaplanatiln in corresponding hierarchy: src/karapace/api/CLAUDE.md or src/karapace/core/CLAUDE.md
muralibasani
commented
May 21, 2026
| subject: Subject, | ||
| version: Version | None, | ||
| token_fingerprint: str, | ||
| token_fingerprint: str, # cache-key only; partitions the LRU per principal |
Contributor
Author
There was a problem hiding this comment.
@nosahama I added this comment here. We need this field to handle cache key.
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.
About this change - What it does
References: #xxxxx
Why this way