Skip to content

Fixes issue with API token auth - #3606

Open
briri wants to merge 1 commit into
mainfrom
api-patch
Open

Fixes issue with API token auth#3606
briri wants to merge 1 commit into
mainfrom
api-patch

Conversation

@briri

@briri briri commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Fixes an issue that allows user's whose account has been deactivated or has had the use_api permission revoked to continue using an API v1 JWT. (see slack for a full report of the issue)

This PR just adds some checks to the authorization service to ensure the user is still active and has permission when trying to use a JWT.

I'm not sure why rubocop reports a CyclomaticComplexity on here, there is a rubocop:disable line already in place for that rule.

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.

1 participant