PUT
Configure single sign-on

Authorizations

Authorization
string
header
required

Authorization: Bearer twk_<prefix>_<secret>.

The prefix is public and safe to log: it is what identifies which credential leaked. The secret is never logged, never returned after creation, and stored only as a SHA-256 hash.

Body

application/json
protocol
enum<string>
required
Available options:
oidc,
saml
display_name
string
required
Maximum string length: 100
config
object

Protocol-specific, non-secret configuration.

client_secret
string
write-only
enabled
boolean
enforced
boolean

Refuses password and consumer-OAuth login for users whose email is in one of this organization's verified domains.

jit_provisioning
boolean
jit_default_role
enum<string>
Available options:
viewer,
member,
admin

Response

The stored configuration.