Skip to content

Global OIDC TokenCustomizer is ignored #39799

Closed

Description

Describe the bug

* Custom token customizers without a {@link TenantFeature} qualifier will be bound to all OIDC tenants.

says that the customizer without @TenantFeature is tied to every tenant. Strictly speaking I didn't try it, but after reading code I'm sure it doesn't work. We only inject customizer with the @TenantFeature from start - #33319.

Expected behavior

Javadocs says it should work.

Actual behavior

I expect that customizer is ignored.

How to Reproduce?

Drop @TenantFeature from ITs.

Output of uname -a or ver

No response

Output of java -version

No response

Quarkus version or git rev

No response

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

I'd like to refactor how @TenantFeature is used with the TokenCustomizer and JWT Validator and I can fix this as part of that (that's why I'm opening this issue). Noone has complained so far, which tells me it is unlikely this feature is frequently used in a global scope.

It is not documented outside of the interface Javadoc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions