【问题标题】:How can I set `grant type` when using `google_identity_platform_oauth_idp_config` in terraform?在 terraform 中使用“google_identity_platform_oauth_idp_config”时如何设置“授权类型”?
【发布时间】:2021-06-17 00:06:07
【问题描述】:

我在 terraform 中使用 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

【问题讨论】:

    标签: google-cloud-platform terraform terraform-provider-gcp


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-08-11
      • 2017-03-02
      • 2021-03-03
      • 2018-01-28
      • 2018-07-05
      • 2023-03-06
      • 2011-03-03
      相关资源
      最近更新 更多