This commit is contained in:
2023-10-23 19:56:09 +02:00
parent d795e4c0de
commit 2a0a2a3b22
2 changed files with 88 additions and 78 deletions

View File

@@ -71,3 +71,13 @@ module "oauth2" {
authentik = authentik
}
}
provider "restapi" {
uri = "http://authentik.${var.domain}-auth.svc/api/v3/"
headers = local.request_headers
create_method = "PATCH"
update_method = "PATCH"
destroy_method = "PATCH"
write_returns_object = true
id_attribute = "name"
}