POST /api/v1/trustedOrigins

Creates a trusted origin

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
scopes[] Array No

Array of Scope types that this Trusted Origin is used for

scopes[].type String No

The scope type. Supported values: When you use IFRAME_EMBED as the scope type, leave the allowedOktaApps property empty to allow iFrame embedding of only Okta sign-in pages. Include OKTA_ENDUSER as a value for the allowedOktaApps property to allow iFrame embedding of both Okta sign-in pages and the Okta End-User Dashboard.

Possible values:

  • "CORS"
  • "IFRAME_EMBED"
  • "REDIRECT"
scopes[].allowedOktaApps[] Array No

The allowed Okta apps for the Trusted Origin scope

name String No

Unique name for the Trusted Origin

origin String No

Unique origin URL for the Trusted Origin. The supported schemes for this attribute are HTTP, HTTPS, FTP, Ionic 2, and Capacitor.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.