v5

latestOpenAPI 3.1.02026-08-081,0211,3082.1 MB
SUPERTOKENS

Update Tenant Thirdparty

Updates the tenant with the third party config

This decides which identity provider is trusted to authenticate new_tenant's users, so new_tenant must be the tenant the caller addressed (the SuperTokens tenant id is the host as-is). :return: ok status and optional message.

post/supertokens/update-tenant-thirdparty

Query parameters

new_tenantstring required
client_idstring required
client_secretstring required
oidc_discovery_endpointstring required
third_party_id'okta' | 'active-directory' required

Response

Successful Response

{"stackTrail":"paths:/supertokens/update-tenant-thirdparty:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}