Skip to content

[BUG] Provider doesn't seem to be setting the Client ID field #48

@jo5huajohn

Description

@jo5huajohn

Bug Description

The provider isn't setting the client id field even after setting client_id = "web".

Terraform Version

v1.14.6

Provider Version

v0.1.7

Affected Resource(s)

  • client_id

Terraform Configuration Files

resource "pocketid_client" "opencloud_app" {
  name      = "OpenCloud"
  client_id = "web"

  callback_urls = [
    "https://opencloud.<domain>/oidc-callback.html",
    "https://opencloud.<domain>/oidc-silent-redirect.html",
  ]

  is_public                        = true
  pkce_enabled              = true
  launch_url = "https://opencloud.<domain>"


  allowed_user_groups = [
    pocketid_group.admin.id,
    pocketid_group.users.id
  ]
}

Debug Output

https://gist.github.com/jo5huajohn/33fd8fe3b0dfc4fa0e37bcf83e88ac12

Expected Behavior

Setting client_id should've set Client ID field in Pocket ID

Actual Behavior

Client ID field uses a newly generated ID by the provider

Steps to Reproduce

  1. terraform apply

Important Factoids

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageNeeds to be triaged by maintainers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions