feat: update the default-scopes's resource's name to authentik_property_mapping_provider_scope
All checks were successful
All checks were successful
This commit is contained in:
parent
09ceb33626
commit
98723d25d9
4 changed files with 21 additions and 19 deletions
|
|
@ -16,7 +16,8 @@ data "authentik_flow" "default-authentication-flow" {
|
|||
slug = "default-authentication-flow"
|
||||
}
|
||||
|
||||
data "authentik_scope_mapping" "default-scopes" {
|
||||
|
||||
data "authentik_property_mapping_provider_scope" "default-scopes" {
|
||||
managed_list = [
|
||||
"goauthentik.io/providers/oauth2/scope-email",
|
||||
"goauthentik.io/providers/oauth2/scope-openid",
|
||||
|
|
@ -33,7 +34,7 @@ resource "authentik_provider_oauth2" "provider_oidc" {
|
|||
authorization_flow = data.authentik_flow.default-authorization-flow.id
|
||||
authentication_flow = data.authentik_flow.default-authentication-flow.id
|
||||
redirect_uris = var.redirect_uris
|
||||
property_mappings = data.authentik_scope_mapping.default-scopes.ids
|
||||
property_mappings = data.authentik_property_mapping_provider_scope.default-scopes.ids
|
||||
sub_mode = var.sub_mode
|
||||
signing_key = var.oidc_signing_key
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue