fix
This commit is contained in:
@@ -22,6 +22,10 @@ data "kubernetes_secret_v1" "oauth2-client-id" {
|
||||
}
|
||||
}
|
||||
|
||||
data "authentik_certificate_key_pair" "ca" {
|
||||
name = "authentik Self-signed Certificate"
|
||||
}
|
||||
|
||||
data "authentik_scope_mapping" "oauth2" {
|
||||
managed_list = [
|
||||
"goauthentik.io/providers/oauth2/scope-email",
|
||||
@@ -43,6 +47,7 @@ resource "authentik_provider_oauth2" "oauth2" {
|
||||
authorization_flow = data.authentik_flow.default-authorization-flow.id
|
||||
client_type = "confidential"
|
||||
sub_mode = "user_username"
|
||||
signing_key = data.authentik_certificate_key_pair.ca.id
|
||||
property_mappings = data.authentik_scope_mapping.oauth2.ids
|
||||
redirect_uris = [
|
||||
"https://${local.dns-name}/apps/user_oidc/code"
|
||||
|
||||
Reference in New Issue
Block a user