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

OIDC Dev UI should support web-app application by recognizing q_session cookie #35064

Closed
sberyozkin opened this issue Jul 27, 2023 · 1 comment · Fixed by #35324
Closed

OIDC Dev UI should support web-app application by recognizing q_session cookie #35064

sberyozkin opened this issue Jul 27, 2023 · 1 comment · Fixed by #35324
Labels
Milestone

Comments

@sberyozkin
Copy link
Member

sberyozkin commented Jul 27, 2023

Description

OIDC Dev UI is implemented as SPA which authenticates to the OIDC provider itself, useful for testing service or hybrid applications by sending them access tokens as bearer tokens but it is of no use for web-app applications where users authenticate to the OIDC provider bypassing SPA - SPA is, currently, in no control.

However, @FroMage has had a nice idea, if DevUI can detect a q_session cookie then it can send to the dev endpoint to request the content inside that cookie - the devendpoint will be able to decrypt it and return ID token JSON representation, as well as the access token one, and then DevUI, instead of offering an option to login to the already authenticated user, will just show the current user name/roles/etc.

It would be great.

CC @FroMage

Implementation ideas

No response

@sberyozkin sberyozkin added the kind/enhancement New feature or request label Jul 27, 2023
@quarkus-bot
Copy link

quarkus-bot bot commented Jul 27, 2023

/cc @cescoffier (devui), @pedroigor (oidc), @phillip-kruger (devui)

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

Successfully merging a pull request may close this issue.

1 participant