many things
Some checks failed
/ non-lab (push) Failing after 5m42s

This commit is contained in:
Chris Cowley 2024-09-13 10:12:28 +02:00
parent a10e42d448
commit ae76ef9c0b
20 changed files with 365 additions and 100 deletions

View file

@ -1,7 +1,7 @@
#data "authentik_scope_mapping" "nextcloud" {
#data "authentik_property_mapping_provider_scope" "nextcloud" {
# name = "Nextcloud Profile"
#}
resource "authentik_scope_mapping" "nextcloud-scope" {
resource "authentik_property_mapping_provider_scope" "nextcloud-scope" {
name = "Nextcloud Profile"
scope_name = "profile"
expression = <<EOF
@ -48,8 +48,8 @@ resource "authentik_provider_oauth2" "nextcloud" {
]
property_mappings = [
data.authentik_scope_mapping.scope-email.id,
authentik_scope_mapping.nextcloud-scope.id
data.authentik_property_mapping_provider_scope.scope-email.id,
authentik_property_mapping_provider_scope.nextcloud-scope.id
]
lifecycle {