-
Notifications
You must be signed in to change notification settings - Fork 3k
OIDC refactoring: use accessors instead of deprecated fields marked for removal #47575
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 refactoring: use accessors instead of deprecated fields marked for removal #47575
Conversation
This comment has been minimized.
This comment has been minimized.
🎊 PR Preview a6fefd7 has been successfully built and deployed to https://quarkus-pr-main-47575-preview.surge.sh/version/main/guides/
|
This comment has been minimized.
This comment has been minimized.
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.
Hi Michal @michalvavrik
Looks perfect, thanks for simplifying and starting with this update only.
I have one minor suggestion, apologies for being annoying :-), can you please drop a OidcTenantConfig#isUserInfoRequired
? The shortcut in itself is neat an makes perfect sense, but it is not an actual ConnfigMapping property declaration.
You have put a lot of effort to clean things up with the legacy OidcTenantConfg
, I'd just like to keep that ConfigMapping
interface without any extra helpers, etc.
I agree it is a bit annoying to have .orElse(false)
- but with this default method we don't know if it was set to anything by the user - which at some point might become relevant
I'm not sure we want to keep |
I don't share your opinion on |
bc71832
to
45885b3
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
extensions/oidc/runtime/src/main/java/io/quarkus/oidc/OidcTenantConfig.java
Show resolved
Hide resolved
extensions/oidc/runtime/src/main/java/io/quarkus/oidc/runtime/OidcTenantConfig.java
Outdated
Show resolved
Hide resolved
45885b3
to
629f3c6
Compare
Status for workflow
|
Status for workflow
|
Requested here #47457, stop using deprecated fields marked for removal, use accessors instead.