fix: use_system_user auth failing when no bearer token is present #144#143
Merged
veryniceuser merged 3 commits intodevelopmentfrom Feb 17, 2026
Conversation
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.
Contributor
Author
|
/deploy-review
|
…stem-user-authorizer
Fedir-Yatsenko
approved these changes
Feb 17, 2026
Collaborator
Fedir-Yatsenko
left a comment
There was a problem hiding this comment.
Good changes, thank you!
Collaborator
|
Let's merge the latest changes from the |
ypldan
approved these changes
Feb 17, 2026
…stem-user-authorizer
Contributor
Author
|
/deploy-review
|
Contributor
Author
Done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Applicable issues
Description of changes
QuanthubAuthorizer._authorize()unconditionally required a DIAL access token in the user path, makingSystemUserViaAuthorizerunreachable when no JWT was present. Addedrequires_dial_tokenproperty toDialUserAuthorizerI(defaultTrue) withSystemUserViaAuthorizeroverriding it toFalse, so the authorizer skips the token check and delegates to system credentials.Checklist
Reviewenvironment.By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.