Update access_service_auth.tf
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 12s
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 12s
This commit is contained in:
@@ -7,7 +7,9 @@ resource "cloudflare_zero_trust_access_identity_provider" "gmail" {
|
||||
account_id = local.cloudflare_account_id
|
||||
name = "Gmail"
|
||||
type = "google"
|
||||
config {
|
||||
zone_id = local.cloudflare_zone_id
|
||||
|
||||
config = {
|
||||
client_id = var.google_client_id
|
||||
client_secret = var.google_secret
|
||||
email_claim_name = "email"
|
||||
@@ -19,7 +21,9 @@ resource "cloudflare_zero_trust_access_identity_provider" "authentik_oidc" {
|
||||
account_id = local.cloudflare_account_id
|
||||
name = "Authentik OIDC"
|
||||
type = "oidc"
|
||||
config {
|
||||
zone_id = local.cloudflare_zone_id
|
||||
|
||||
config = {
|
||||
auth_url = "https://authentik.${local.cloudflare_zone_id}/application/o/authorize/"
|
||||
certs_url = "https://authentik.${local.cloudflare_zone_id}/application/o/cloudflare-access/jwks/"
|
||||
claims = ["given_name", "preferred_username", "nickname", "groups", "role"]
|
||||
|
||||
Reference in New Issue
Block a user