CreateOrUpdateSSOProvider
POST/v1/sso-providers
CreateOrUpdateSSOProvider upserts the deployment's SSO provider row. The oidc_config jsonb it writes keeps fraser-auth's camelCase keys, because valet's own login parses those exact keys back out (identitysvc.SSOProviderOIDC): a write that renamed them would break the next sign-in rather than fail here.
One gate, both verbs. fraser-auth reaches this row two ways and answers differently on each -- /api/sso-providers requires a grant while /api/sso-init requires nothing at all -- and that split is deliberately not ported: create and edit are separate verbs on one resource behind one annotation, so there is no second way in.
Request
Responses
- 200
Success