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

Minor updates to OIDC dev template to support Okta #26207

Merged
merged 1 commit into from Jun 18, 2022

Conversation

sberyozkin
Copy link
Member

@sberyozkin sberyozkin commented Jun 17, 2022

Okta requires a state parameter which is indeed required for Quarkus web-app too. It may be because I've registered an application as web-app in Okta, but in any case it won't harm having the dev template producing it too.

I also dropped an empty Logged In when no user name can be determined as it ends up showing as Logged in Logged In (double append) - but even if this duplication is possible to fix, it does not really add anything informative, since there is an icon there suggesting to logout and start again in any case.

Also added one more (standard) claim check to determine a user name, as Okta does not include preferred_username (or upn).

CC @kenyee

Copy link
Member

@phillip-kruger phillip-kruger left a comment

Choose a reason for hiding this comment

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

LGTM

@sberyozkin sberyozkin merged commit a799c3a into quarkusio:main Jun 18, 2022
@quarkus-bot quarkus-bot bot added this to the 2.11 - main milestone Jun 18, 2022
@sberyozkin sberyozkin deleted the oidc_dev_console_okta branch June 18, 2022 09:42
@gsmet gsmet modified the milestones: 2.11 - main, 2.10.1.Final Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants