Whitelisting redirected URLs

In order for redirection to work, it's necessary to whitelist the URL to be redirected.

To do that, you have to add your URL into this PATCH:

curl -X PATCH "https://sec-id-api.securitize.io/v1/{domainID}" -H "accept: application/json" -H "Authorization: {secret}" -H "Content-Type: application/json" -d "{body}"P

Parameter

Description

{domainID}

Your application client id provided by Securitize

Authorization

Your application secret provided by Securitize

body

looks like below

{
"appIcon": "Icon url",
"appName": "The Name of your App or [yourdomain]",
"redirectUrls": [
"https://[yourdomain]/*"
}

Example

curl -X PATCH "https://sec-id-api.securitize.io/v1/{domainID}" -H "accept: application/json" -H "Authorization: {secret}" -H "Content-Type: application/json" -d "{body}"

where the body looks like below:

{
"appIcon": "Icon url",
"appName": "The Name of your App or [yourdomain]",
"redirectUrls": [
"https://[yourdomain]/*"
}

Last updated