Skip to content

feat: Add user to the demo as subject - #77

Merged
mrsabath merged 7 commits into
rossoctl:mainfrom
mrsabath:demo-subject
Jan 27, 2026
Merged

mrsabath merged 7 commits into
rossoctl:mainfrom
mrsabath:demo-subject

Conversation

@mrsabath

Copy link
Copy Markdown
Member

Description

Fixes # (issue)

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • Test addition or update
  • CI/CD update

How Has This Been Tested?

  • Test A
  • Test B

Test Configuration:

  • Kubernetes version:
  • Toolhive webhook version:
  • OS:

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Screenshots (if appropriate)

Additional Notes

Signed-off-by: Mariusz Sabath <[email protected]>
Signed-off-by: Mariusz Sabath <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a demo Keycloak user flow to showcase subject (sub) preservation through token exchange in the AuthBridge demo.

Changes:

  • Create a demo user (alice) during Keycloak setup and print instructions for user-token testing.
  • Expand demo documentation with a new “user token flow” section and updated verification steps.
  • Enhance demo app JWT debug logging to include sub, preferred_username, and azp.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
AuthBridge/setup_keycloak.py Adds demo user creation and prints user-token test instructions.
AuthBridge/demo.md Documents the new user token flow and subject preservation verification steps.
AuthBridge/AuthProxy/quickstart/demo-app/main.go Logs additional JWT claims to help verify subject preservation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread AuthBridge/setup_keycloak.py Resolved
Comment thread AuthBridge/setup_keycloak.py Resolved
Comment thread AuthBridge/demo.md Resolved
mrsabath and others added 2 commits January 26, 2026 09:48
Signed-off-by: Mariusz Sabath <[email protected]>

Co-authored-by: Copilot <[email protected]>
Signed-off-by: Mariusz Sabath <[email protected]>

Co-authored-by: Copilot <[email protected]>
@mrsabath
mrsabath marked this pull request as ready for review January 26, 2026 14:50
Comment thread AuthBridge/demo.md Resolved
Comment thread AuthBridge/demo.md Resolved
mrsabath and others added 2 commits January 26, 2026 15:34
Signed-off-by: Mariusz Sabath <[email protected]>

Co-authored-by: Alan Cha <[email protected]>
Signed-off-by: Mariusz Sabath <[email protected]>

@rubambiza rubambiza left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Comment thread AuthBridge/demo.md Resolved
Signed-off-by: Mariusz Sabath <[email protected]>

Co-authored-by: Alan Cha <[email protected]>
@mrsabath
mrsabath merged commit 1f7a853 into rossoctl:main Jan 27, 2026
4 checks passed
@mrsabath
mrsabath deleted the demo-subject branch January 27, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants