代码之家  ›  专栏  ›  技术社区  ›  Joey Yi Zhao

在地形中使用“google_identity_platform_oauth_idp_config”时,如何设置“授予类型”?

  •  0
  • Joey Yi Zhao  · 技术社区  · 5 年前

    我正在使用 google_identity_platform_oauth_idp_config 以地形形式将身份部署到GCP。我读过这个文档: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/identity_platform_oauth_idp_config 但我找不到可以设置拨款类型的位置。

    默认情况下,它将其设置为 Implicit flow 。我如何将其设置为 Code flow ?

    enter image description here

    0 回复  |  直到 5 年前
        1
  •  0
  •   Sergi    5 年前

    审查 documentation ,如果您设置 client_secret 参数,它应该启用OIDC代码流。