Fix authentik config
This commit is contained in:
parent
979a386831
commit
424e1db07f
9 changed files with 17 additions and 7 deletions
modules/services
|
@ -1,7 +1,7 @@
|
|||
output "authentik_data" {
|
||||
value = {
|
||||
for key in keys(authentik_application.service_applications) : key => {
|
||||
"base_url" = "${var.authentik_url}/application/o/${authentik_application.service_applications[key].slug}/"
|
||||
"base_url" = "${var.authentik_url}/application/o/${authentik_application.service_applications[key].slug}"
|
||||
"client_id" = authentik_provider_oauth2.service_providers[key].client_id
|
||||
"client_secret" = authentik_provider_oauth2.service_providers[key].client_secret
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue