Compare commits
1 commit
30815cfe10
...
23dd7c3c2b
| Author | SHA1 | Date | |
|---|---|---|---|
| 23dd7c3c2b |
1 changed files with 0 additions and 15 deletions
|
|
@ -12,7 +12,6 @@ data:
|
|||
labels:
|
||||
blueprints.goauthentik.io/description: "Shared groups and identity resources"
|
||||
entries:
|
||||
# admins group — gates access to admin-only applications
|
||||
- model: authentik_core.group
|
||||
id: admins-group
|
||||
identifiers:
|
||||
|
|
@ -20,20 +19,6 @@ data:
|
|||
attrs:
|
||||
name: admins
|
||||
|
||||
# groups scope mapping — returns user's group names in OIDC tokens
|
||||
- model: authentik_providers_oauth2.scopemapping
|
||||
id: groups-scope
|
||||
identifiers:
|
||||
scope_name: groups
|
||||
attrs:
|
||||
name: "OAuth Mapping: groups"
|
||||
scope_name: groups
|
||||
description: "Map user groups to OIDC groups claim"
|
||||
expression: |
|
||||
return {
|
||||
"groups": [group.name for group in request.user.ak_groups.all()],
|
||||
}
|
||||
|
||||
grafana.yaml: |
|
||||
version: 1
|
||||
metadata:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue