mirror of
https://codeberg.org/icewind/haze.git
synced 2026-10-01 08:44:09 +02:00
WIP: make it work
Signed-off-by: Louis Chmn <louis@chmn.me>
This commit is contained in:
parent
2778f31c93
commit
853ee15a3d
8 changed files with 291 additions and 26 deletions
|
|
@ -20,6 +20,16 @@ entries:
|
|||
saml_name: http://haze.test/nextcloud/uid
|
||||
expression: 'return "saml-" + request.user.username'
|
||||
|
||||
# Symbolic name of the Global Scale node the user belongs to, resolved to an
|
||||
# address by the mapping file maintained by haze.
|
||||
- model: authentik_providers_saml.samlpropertymapping
|
||||
id: haze-nextcloud-gss-node
|
||||
identifiers:
|
||||
name: haze-nextcloud-gss-node
|
||||
attrs:
|
||||
saml_name: http://haze.test/nextcloud/gss-node
|
||||
expression: 'return request.user.attributes.get("nextcloud_gss_node", "")'
|
||||
|
||||
- model: authentik_providers_saml.samlprovider
|
||||
id: nextcloud-provider
|
||||
identifiers:
|
||||
|
|
@ -65,6 +75,7 @@ entries:
|
|||
name_id_mapping: !KeyOf haze-nextcloud-uid
|
||||
property_mappings:
|
||||
- !KeyOf haze-nextcloud-uid
|
||||
- !KeyOf haze-nextcloud-gss-node
|
||||
- !Find [
|
||||
authentik_providers_saml.samlpropertymapping,
|
||||
[managed, goauthentik.io/providers/saml/username],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue