me
Create the tenant, user and membership rows for a verified token, idempotently
Changed onSafe to call on every sign-in. A token that names an organisation is provisioned straight away and the answer's action is ready. A token that names none has its PENDING INVITATIONS looked up by the address WorkOS holds for it: the oldest is accepted, which creates the WorkOS membership with the invited role, the rows follow, and action is refresh because the caller's token predates that membership and must be refreshed with tenant.workos_org_id. Nobody invited: 403 no-firm, and nothing is written (D-73).
post/v1/me/provision
Request
- Base URLhttps://api.sixminute.ai (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Request body
Response
The rows, and what the caller must do next.
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
to the response with the status
- info