Auth0 - Generate token
Receives user authentication events from Auth0 post-login/post-registration action. Creates a new customer or updates existing customer data (if changes detected). Generates Cleeng access token (JWT) with configurable expiration.<br /><br /><strong>Authorization</strong>: Requires Bearer token (JWT). The token value must match the <strong>secret</strong> in publisher configuration.<br /><br /><strong>Request body</strong><ul><li>Send one JSON object per request.</li><li>If the body contains characters after the JSON object, the endpoint returns 400 ID0001.</li></ul><strong>Stored values outside field limits</strong><ul><li>A stored customer value can exceed the limits in Body Params.</li><li>If the request sends that value unchanged, the endpoint returns 400 ID0001 on every login.</li><li>To resolve the error, correct the value in Auth0 or in Cleeng.</li></ul><strong>Response time</strong><ul><li>The endpoint responds within approximately 20 s.</li><li>If processing exceeds approximately 18 s, the endpoint returns 504 ID2112.</li></ul><strong>Retrying failed requests</strong><ul><li>502 ID2111: Safe to retry the request.</li><li>504 ID2112: Safe to retry the request.</li><li>409 ID2113: Safe to retry the request once.</li></ul>
Request
- Base URLhttps://identity.api.sandbox.cleeng.com (relative, and the document’s source URL is not known)
- URLhttps://identity.api.sandbox.cleeng.com/hooks/v1/auth0/actions/token
- AuthHTTP bearer
Request body
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.