Skip to main content

require_global_service_authority

Function require_global_service_authority 

Source
pub async fn require_global_service_authority(
    request: Request,
    next: Next,
) -> Response
Expand description

Restrict cross-tenant OAuth administration to a tenantless service authority.

This layer runs inside require_bearer_token, after the verified identity has been inserted. Tenant-bound users may use self-service OAuth routes, but cannot enumerate or mutate the global SCIM store or mint service workload identities. Introspection has its own same-tenant check.