This commit is contained in:
2023-11-28 13:30:08 +01:00
parent 5e0ff76cae
commit 0d38840784
4 changed files with 165 additions and 130 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"
}