Reafacto OAuth2

Add roles mappings
Remove legacy groups
This commit is contained in:
2024-12-27 16:38:12 +01:00
parent fa2a69c61e
commit e8d1c4e86a
6 changed files with 87 additions and 47 deletions

View File

@@ -23,7 +23,7 @@ variable "redirect_path" {
variable "group_mapping" {
type = map(string)
default = {}
description = "Group mapping where key application group and value the generic group name"
description = "Group mapping where key is authentik suffix group name and value is the application group name"
}
variable "owner_references" {
type = list(object({}))
@@ -39,6 +39,11 @@ variable "scopes" {
"scope-profile",
]
}
variable "scope_attributes" {
type = string
description = "Authentik expression for scope mapping"
default = ""
}
variable "client_type" {
type = string
description = "OAuth client type confidential / public(PKCE)"