OAuth

Oauth Grantable Scopes

Return the subset of scopes the authenticated user can actually grant.

Used by the consent UI to show which scopes the current user can grant for the currently-selected org/project, so the user isn't asked to approve scopes that would be silently filtered server-side during the POST /authorize step.

The OIDC scopes (e.g. openid) are passed through. Platform resource scopes are filtered by permissions, and a scope that the platform does not know is dropped.

get/oauth/grantable-scopes

Request

Query parameters

organization_idstring uuid required
scopesstring required

Space-separated list of scopes to check

project_idstring uuid nullable

Cookies

logfire_tokenstring password nullable

Response

Successful Response

grantable_scopesstring[] required

Changes

No recorded changes to this operation across all 1 revision of this API.