-
Notifications
You must be signed in to change notification settings - Fork 38
import tokenbroker #460
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
import tokenbroker #460
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,6 +40,7 @@ import ( | |
|
|
||
| // Only two plugins: drop the parsers and token-broker. | ||
| _ "github.com/kagenti/kagenti-extensions/authbridge/authlib/plugins/jwtvalidation" | ||
| _ "github.com/kagenti/kagenti-extensions/authbridge/authlib/plugins/tokenbroker" | ||
| _ "github.com/kagenti/kagenti-extensions/authbridge/authlib/plugins/tokenexchange" | ||
|
Comment on lines
41
to
44
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Comment now contradicts the code: Line 41 still says "drop the parsers and token-broker," but Line 43 compiles 📝 Suggested fix- // Only two plugins: drop the parsers and token-broker.
+ // Drop the parsers; keep the auth/token plugins.
_ "github.com/kagenti/kagenti-extensions/authbridge/authlib/plugins/jwtvalidation"
_ "github.com/kagenti/kagenti-extensions/authbridge/authlib/plugins/tokenbroker"
_ "github.com/kagenti/kagenti-extensions/authbridge/authlib/plugins/tokenexchange"And the package header: -// Package main is the "lite" authbridge binary: proxy-sidecar mode
-// only (no Envoy), with jwt-validation + token-exchange as the only
-// plugins compiled in. Optimizes for binary size by dropping the
+// Package main is the "lite" authbridge binary: proxy-sidecar mode
+// only (no Envoy), with jwt-validation, token-exchange, and
+// token-broker as the only plugins compiled in. Optimizes for binary
+// size by dropping the🤖 Prompt for AI Agents |
||
| ) | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment now directly contradicts the code — it says token-broker is dropped, but this PR adds it. CodeRabbit flagged the same. Suggest updating to reflect the actual plugin set, e.g.:
// Three plugins: jwtvalidation, tokenbroker, tokenexchange (parsers dropped).