Fix authentik config

This commit is contained in:
Tobias Reisinger 2024-10-09 02:29:08 +02:00
parent 979a386831
commit 424e1db07f
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
9 changed files with 17 additions and 7 deletions
modules/services

View file

@ -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
}