Skip to content

Validate user authorities in bearer only flow#10339

Merged
nielsm5 merged 1 commit intomasterfrom
task/make-bearer-only-flow-validate-user-roles
Jan 27, 2026
Merged

Validate user authorities in bearer only flow#10339
nielsm5 merged 1 commit intomasterfrom
task/make-bearer-only-flow-validate-user-roles

Conversation

@nielsm5
Copy link
Member

@nielsm5 nielsm5 commented Jan 27, 2026

BearerOnlyAuthenticator is authentication only (you may enter or you may not). In some cases, we have access to user roles as well and want to do authorization as well (you may enter and have the correct role to access a certain resource). This change checks for the required role

@nielsm5 nielsm5 requested a review from evandongen January 27, 2026 14:17
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
7.4% Coverage on New Code (required ≥ 65%)

See analysis details on SonarQube Cloud

@nielsm5 nielsm5 merged commit 1cc5cbb into master Jan 27, 2026
20 of 22 checks passed
@nielsm5 nielsm5 deleted the task/make-bearer-only-flow-validate-user-roles branch January 27, 2026 15:48
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.

2 participants