Minimal Pocket ID provider: OIDC clients and write-only secrets #2
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/oidc-client"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Our own provider so the code holding the Pocket ID admin key is only the plugin framework plus the Go standard library, built reproducibly and signed in-house.
pocketid_oidc_client: callbacks, logout URLs, public/confidential, PKCE, reauthentication, launch URL, allowed user groups (empty = every user). Import by client ID never touches secrets; a secret auto-created on a new confidential client is revoked at once.pocketid_oidc_client_secret: write-only value (never in plans or state), rotation viavalue_wo_versionwith create-before-destroy.Verified locally against Pocket ID v2.19.3 (same as auth.yawn.dev) with a static test key: acceptance test (create, update, rotate, import), an OpenTofu 1.13.9 run confirming the secret value is absent from state and a re-plan is empty,
check.sh(vet, tests, govulncheck), and two byte-identical release builds. VERSION stays 0.1.0-dev.1; the release bump comes after arch #29 registers the signing slot.