Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

identityplatform OauthIdpConfig does not support code flow grant types #2181

Open
VenelinMartinov opened this issue Jul 11, 2024 · 0 comments
Labels
awaiting-upstream The issue cannot be resolved without action in another repository (may be owned by Pulumi). blocked The issue cannot be resolved without 3rd party action. kind/enhancement Improvements or new features

Comments

@VenelinMartinov
Copy link
Contributor

Describe what happened

reported in #2169 (comment)

It seems that the resource does not allow changing the grant type, even though the docs suggest that should happen if a secret is set.

This is inherited from upstream: hashicorp/terraform-provider-google#9385

The GCP API does seem to support it https://cloud.google.com/identity-platform/docs/reference/rest/v2/projects.oauthIdpConfigs#OAuthIdpConfig but the parameter does not seem to be used in the TF provider: https://cloud.google.com/identity-platform/docs/reference/rest/v2/projects.oauthIdpConfigs#OAuthIdpConfig

Sample program

oidc_provider = gcp.identityplatform.OauthIdpConfig(
    "foobar",
    name="oidc.foobar",
    client_id="foo",
    issuer="www.foobar.com/foobar/baz/qux",
    client_secret="foo",
    opts=pulumi.ResourceOptions(depends_on=[identity_toolkit]),
)

Log output

.

Affected Resource(s)

No response

Output of pulumi about

.

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@VenelinMartinov VenelinMartinov added kind/bug Some behavior is incorrect or out of spec awaiting-upstream The issue cannot be resolved without action in another repository (may be owned by Pulumi). blocked The issue cannot be resolved without 3rd party action. labels Jul 11, 2024
@VenelinMartinov VenelinMartinov changed the title identityplatform OauthIdpConfig does not support chaning the grant type identityplatform OauthIdpConfig does not support changing the grant type Jul 11, 2024
@VenelinMartinov VenelinMartinov changed the title identityplatform OauthIdpConfig does not support changing the grant type identityplatform OauthIdpConfig does not support code flow grant types Jul 11, 2024
@VenelinMartinov VenelinMartinov added kind/enhancement Improvements or new features and removed kind/bug Some behavior is incorrect or out of spec labels Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-upstream The issue cannot be resolved without action in another repository (may be owned by Pulumi). blocked The issue cannot be resolved without 3rd party action. kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

1 participant