Table of contents
pocketid_oidc_client
An OIDC client in Pocket ID. This resource never holds a client secret: secrets are separate pocketid_oidc_client_secret resources. When a new confidential client is created, Pocket ID may add a secret automatically; the provider revokes it straight away, so the only working secrets are the ones you declare.
resource "pocketid_oidc_client" "contextforge" {
client_id = "contextforge"
name = "ContextForge"
callback_urls = ["https://mcp.yawn.dev/auth/sso/callback/pocketid"]
}
Arguments
client_id(required): the OIDC client ID, 2-128 of letters, digits,.,_,-. Changing it replaces the client.name(required): display name, at most 50 characters.callback_urls(required): allowed redirect URIs.logout_callback_urls: allowed post-logout redirect URIs. Default[].is_public: public client with no secret. Defaultfalse. Pocket ID forces PKCE on for public clients.pkce_enabled: require PKCE. Defaulttrue.requires_reauthentication: ask the user to authenticate again on every authorization. Defaultfalse.launch_url: link shown on the user's Pocket ID apps page.allowed_user_groups: Pocket ID user group IDs allowed to sign in. Default[], which means every Pocket ID user.
Attributes
id: same asclient_id.
Import
tofu import pocketid_oidc_client.x <client_id>
Import never revokes, rotates or reads secrets.
Unmanaged settings
Pocket ID's update API replaces the whole client. Logos are left alone, but every update resets the settings this provider does not model to Pocket ID's defaults: description (empty), skip consent (off), pushed authorization requests (off), token lifetimes (60 minutes / 30 days) and federated credentials (none). Before importing a client that relies on any of these, check them in the Pocket ID UI; do not manage such a client with this resource until the setting is modelled.
Published from docs/ (refs/tags/v0.1.0-dev.1, b8b63b847568). Edit the source in a pull request; wiki edits are replaced on the next publish.