-
Notifications
You must be signed in to change notification settings - Fork 71
Description
Feature Request
Zilla’s JWT authorization only validates the scope claim (e.g., scope: "openid profile email") for permissions, ignoring custom RBAC claims like:
{
"role": "Admin", // Ignored
"groups": ["Viewer"], // Ignored
"scope": "read:data" // Only this is used
}
Requested Change
Extend Zilla’s JWT validator to:
- Support custom RBAC claims (e.g., role, groups, realm_access.roles)
- Configurable claim names (to support standards like Keycloak, Auth0, or custom IdPs).
- Override scope-only validation
- Allow role/groups to work alongside or replace scope checks.
Backward Compatibility
- Retain scope support for legacy use cases.
- Make custom claims opt-in (no breaking changes).
Reactions are currently unavailable