Authentication establishes who the user or client is. Authorization instead, decides what an authenticated caller is allowed to do: which APIs they may call and which actions they may perform.
Mosaic decides what a caller can access with Resource-Aware Authorization, an access control model based on OAuth 2.0 Resource Indicators (RFC 8707). Scopes and permissions are explicitly bound to the specific target API or service (the resource) being accessed, rather than granting broad, tenant-wide access across all APIs.
You define resources, permissions, and scopes in the application. When a client requests a resource and scopes, Mosaic includes in the access token only the scopes and permissions for that resource.
- Least privilege: A token carries only the resource-specific scopes and permissions for the requested resource, not for several APIs at once.
- Privilege containment: The audience, scopes, and permissions in a token are bound to the requested resource, so a compromised token cannot be used against another resource.
- Granular governance: Each application keeps its own resources, permissions, and scopes. You assign scopes to clients and permissions to users through roles, per resource.
- Learn the concepts and how they appear on user and client access tokens in How authorization works.
- Configure the application and request a token in Implement the authorization model.