Skip to content

fix(auth): validate SAT via token introspection on non-interactive login - #70

Merged
sawka-harness merged 1 commit into
mainfrom
fix/login-flags
Jul 29, 2026
Merged

fix(auth): validate SAT via token introspection on non-interactive login#70
sawka-harness merged 1 commit into
mainfrom
fix/login-flags

Conversation

@BlueLabelscotch

Copy link
Copy Markdown
Collaborator

Summary

  • Non-interactive harness auth login validated tokens with GET /ng/api/accounts/{accountID}, which requires account-view permission.
  • Service account tokens (sat.) often lack that permission, so login failed with token valid but access denied (403) even when the token was valid.
  • SATs now validate via POST /ng/api/token/validate (same approach as interactive login); PATs keep the existing account lookup.

@sawka-harness
sawka-harness merged commit 62a646e into main Jul 29, 2026
1 check passed
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