SAML applications

Create SAML application secret

Create a new signing certificate for the SAML application.

post/api/saml-applications/{id}/secrets

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/saml-applications/{id}/secrets
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Path parameters

idstring required

The unique identifier of the saml application.

Request body

lifeSpanInYearsinteger required

The lifetime of the certificate in years (minimum 1 year).

Response

The signing certificate was created successfully.

idstring required
certificatestring required
createdAtnumber required
expiresAtnumber required
activeboolean required

Changes

No recorded changes to this operation across all 8 revisions of this API.