Skip to main content

Update the allowed origins

POST 

/api/client-applications/:clientApplicationId/update-origins

Add url origins to the client application whitelist. The Generate a challenge endpoint will reject non-whitelisted origins. Warning! This is a destructive operation. The allowed origins will be overwritten with the provided list. Use the Get a client application endpoint to retrieve the current list of allowed origins.

Request

Path Parameters

    clientApplicationId stringrequired

    Id of the client application.

    Example: 65a7e8ef0d230d0a6bf755e07d39eb02

Body

required

    allowedOrigins string[]

    The allowed origins for the client application. Minimum one origin is required.

Responses

No content

Schema

    any

Loading...