fix: reject AT from banned users - #2642
Merged
Merged
Conversation
cemalkilic
approved these changes
Jul 23, 2026
cstockton
pushed a commit
that referenced
this pull request
Aug 3, 2026
🤖 I have created a release *beep* *boop* --- ## [2.195.0](v2.194.0...v2.195.0) (2026-07-30) ### Features * gate SCIM router behind an experimental feature flag ([#2639](#2639)) ([0fde049](0fde049)) ### Bug Fixes * accept offline_access OAuth scope for MCP refresh clients ([#2630](#2630)) ([059b86c](059b86c)) * **auditlogs:** add missing events to docs ([3e5d493](3e5d493)) * **auditlogs:** remove unused mfa code audit log events ([2909344](2909344)) * **auditlogs:** remove unused recovery codes audit log events ([d4ca02a](d4ca02a)) * persist last_sign_in_at on v2 refresh token issuance ([#2655](#2655)) ([fc654b0](fc654b0)) * reject AT from banned users ([#2642](#2642)) ([b6878c2](b6878c2)) * update google.golang.org/grpc to v1.82.1 ([#2651](#2651)) ([4a596c0](4a596c0)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: supabase-releaser[bot] <223506987+supabase-releaser[bot]@users.noreply.github.com>
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.
Reject requests from from banned users with still-valid access tokens.
The following endpoints will be affected:
User & session
GET/userUserGetPUT/userUserUpdateGET/reauthenticateReauthenticatePOST/logoutLogout(now also blocked for banned users)Identities & OAuth grants
GET/user/identities/authorizeLinkIdentityDELETE/user/identities/{identity_id}DeleteIdentityGET/user/oauth/grantsUserListOAuthGrantsDELETE/user/oauth/grantsUserRevokeOAuthGrantPOST/token?grant_type=id_token(withlink_identity=true)IdTokenGrant(via directrequireAuthenticationcall)MFA / factors
POST/factorsEnrollFactorPOST/factors/{factor_id}/challengeChallengeFactorPOST/factors/{factor_id}/verifyVerifyFactorDELETE/factors/{factor_id}UnenrollFactorPasskeys
POST/passkeys/registration/optionsPasskeyRegistrationOptionsPOST/passkeys/registration/verifyPasskeyRegistrationVerifyGET/passkeysPasskeyListPATCH/passkeys/{passkey_id}PasskeyUpdateDELETE/passkeys/{passkey_id}PasskeyDeleteOAuth server (OIDC)
GET/oauth/userinfoOAuthUserInfoGET/oauth/authorizations/{authorization_id}OAuthServerGetAuthorizationPOST/oauth/authorizations/{authorization_id}/consentOAuthServerConsent