Skip to content

fix: use_system_user auth failing when no bearer token is present #144#143

Merged
veryniceuser merged 3 commits intodevelopmentfrom
fix/auth-skip-dial-token-check-for-system-user-authorizer
Feb 17, 2026
Merged

fix: use_system_user auth failing when no bearer token is present #144#143
veryniceuser merged 3 commits intodevelopmentfrom
fix/auth-skip-dial-token-check-for-system-user-authorizer

Conversation

@veryniceuser
Copy link
Contributor

@veryniceuser veryniceuser commented Feb 13, 2026

Applicable issues

Description of changes

QuanthubAuthorizer._authorize() unconditionally required a DIAL access token in the user path, making SystemUserViaAuthorizer unreachable when no JWT was present. Added requires_dial_token property to DialUserAuthorizerI (default True) with SystemUserViaAuthorizer overriding it to False, so the authorizer skips the token check and delegates to system credentials.

Checklist

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

QuanthubAuthorizer._authorize() unconditionally required a DIAL access
token in the user path, making SystemUserViaAuthorizer unreachable when
no JWT was present. Added requires_dial_token property to
DialUserAuthorizerI (default True) with SystemUserViaAuthorizer
overriding it to False, so the authorizer skips the token check and
delegates to system credentials.
@veryniceuser veryniceuser changed the title Fix use_system_user auth failing when no bearer token is present fix: use_system_user auth failing when no bearer token is present Feb 13, 2026
@veryniceuser
Copy link
Contributor Author

veryniceuser commented Feb 13, 2026

/deploy-review

GitHub actions run: 21993501723
Environment URL: review-environment | pipeline

@veryniceuser veryniceuser changed the title fix: use_system_user auth failing when no bearer token is present fix: use_system_user auth failing when no bearer token is present #144 Feb 16, 2026
@veryniceuser veryniceuser marked this pull request as ready for review February 16, 2026 16:56
@veryniceuser veryniceuser requested a review from ypldan as a code owner February 16, 2026 16:56
@Fedir-Yatsenko Fedir-Yatsenko added bug Something isn't working python Pull requests that update python code labels Feb 17, 2026
Copy link
Collaborator

@Fedir-Yatsenko Fedir-Yatsenko left a comment

Choose a reason for hiding this comment

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

Good changes, thank you!

@Fedir-Yatsenko
Copy link
Collaborator

Let's merge the latest changes from the development and test this PR in the Review environment.

@veryniceuser
Copy link
Contributor Author

veryniceuser commented Feb 17, 2026

/deploy-review

GitHub actions run: 22100370825
Environment URL: review-environment | pipeline

@veryniceuser
Copy link
Contributor Author

Let's merge the latest changes from the development and test this PR in the Review environment.

Done

@veryniceuser veryniceuser merged commit e57ae4a into development Feb 17, 2026
9 checks passed
@veryniceuser veryniceuser deleted the fix/auth-skip-dial-token-check-for-system-user-authorizer branch February 17, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

use_system_user auth type fails when no bearer token is present

4 participants