website/integrations: Fix deprecated terraform ressource authentik_scope_mapping in docs (#12554)
This commit is contained in:
@ -110,9 +110,9 @@ resource "authentik_provider_oauth2" "argocd" {
|
|||||||
]
|
]
|
||||||
|
|
||||||
property_mappings = [
|
property_mappings = [
|
||||||
data.authentik_scope_mapping.scope-email.id,
|
data.authentik_property_mapping_provider_scope.scope-email.id,
|
||||||
data.authentik_scope_mapping.scope-profile.id,
|
data.authentik_property_mapping_provider_scope.scope-profile.id,
|
||||||
data.authentik_scope_mapping.scope-openid.id,
|
data.authentik_property_mapping_provider_scope.scope-openid.id,
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,15 +38,15 @@ data "authentik_flow" "default-provider-authorization-implicit-consent" {
|
|||||||
slug = "default-provider-authorization-implicit-consent"
|
slug = "default-provider-authorization-implicit-consent"
|
||||||
}
|
}
|
||||||
|
|
||||||
data "authentik_scope_mapping" "scope-email" {
|
data "authentik_property_mapping_provider_scope" "scope-email" {
|
||||||
name = "authentik default OAuth Mapping: OpenID 'email'"
|
name = "authentik default OAuth Mapping: OpenID 'email'"
|
||||||
}
|
}
|
||||||
|
|
||||||
data "authentik_scope_mapping" "scope-profile" {
|
data "authentik_property_mapping_provider_scope" "scope-profile" {
|
||||||
name = "authentik default OAuth Mapping: OpenID 'profile'"
|
name = "authentik default OAuth Mapping: OpenID 'profile'"
|
||||||
}
|
}
|
||||||
|
|
||||||
data "authentik_scope_mapping" "scope-openid" {
|
data "authentik_property_mapping_provider_scope" "scope-openid" {
|
||||||
name = "authentik default OAuth Mapping: OpenID 'openid'"
|
name = "authentik default OAuth Mapping: OpenID 'openid'"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -64,9 +64,9 @@ resource "authentik_provider_oauth2" "grafana" {
|
|||||||
redirect_uris = ["https://grafana.company/login/generic_oauth"]
|
redirect_uris = ["https://grafana.company/login/generic_oauth"]
|
||||||
|
|
||||||
property_mappings = [
|
property_mappings = [
|
||||||
data.authentik_scope_mapping.scope-email.id,
|
data.authentik_property_mapping_provider_scope.scope-email.id,
|
||||||
data.authentik_scope_mapping.scope-profile.id,
|
data.authentik_property_mapping_provider_scope.scope-profile.id,
|
||||||
data.authentik_scope_mapping.scope-openid.id,
|
data.authentik_property_mapping_provider_scope.scope-openid.id,
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user