devops/infra/modules/zitadel/identity-provider/google/main.tf

20 lines
625 B
HCL

resource "zitadel_org" "default" {
depends_on = [var.wait_on]
name = var.name
}
#resource "zitadel_idp_google" "default" {
# name = "Google"
# client_id = "182902..."
# client_secret = "GOCSPX-*****"
# scopes = ["openid", "profile", "email"]
# is_linking_allowed = false
# is_creation_allowed = true
# is_auto_creation = false
# is_auto_update = true
# auto_linking = "AUTO_LINKING_OPTION_USERNAME"
#}
#google_client_id = "783390190667-0nkts50perpmhott4i7ro1ob5n7koi5i.apps.googleusercontent.com"
#google_client_secret = "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"