Public-client config: optional clientSecretRef (CRD + registry) #32
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lab/authz-bridge#32
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Parent
#31 — Spec: public-client support + replace hand-rolled protocol code with the x/oauth2 + go-oidc + hstern trio
What to build
An
OauthClientcan be declared without aclientSecretRef, declaring a Public client. The Registry builds such an App as Available withSecretReadytrivially true (there is no secret to watch), and the structural gate relaxes so a client is valid with or without a well-formed secret ref. A Confidential client (secret present) is unchanged. An exchange-only App can now omit the secret it never uses.Acceptance criteria
OauthClient.clientSecretRefis optional in the CRD (a public client omits it).OauthClientbuilds an Available Registry entry withSecretReadytrue and no referenced Secret.clientSecretRefstill degrades (InvalidSecretRef).SecretNotReadywhen the Secret is missing.make manifests generate,make lint, andmake testpass.Blocked by