<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
Create a Two Page Plugin App via API
Okta Classic Engine
Okta Identity Engine
Administration
Overview

The goal of this knowledge article is to present how to create a Two Page Plugin App via API Call instead of using the Admin UI.

Applies To
  • Okta Classic
  • Okta Identity Engine
  • Two Page Plugin App
  • API Call
  • Postman
Solution

NOTE: The following scopes are required: okta.apps.read okta.apps.manage.

  1. Navigate to Apps (Okta API) collection in the Postman environment.
  2. Expand the Add Application folder.
  3. Select the POST Add SWA App.
  4. Right-click and select Duplicate.
  5. Click the Body tab of the new POST Add SWA App Copy call and replace its content with:
{
  "name": "template_swa_two_page",
  "label": "Two Page Plugin App",
  "signOnMode": "SECURE_PASSWORD_STORE",
  "settings": {
    "app": {
      "url": "https://example.com/login.html",
      "passwordField": "txtbox-password",
      "passwordUrl": "Password page URL",
      "usernameField": "txtbox-username",
      "nextButton": "#next",
      "submitButton": "#submitbutton"

    }
  }
}

Body of Two Page Plugin App

6. Modify the values for the application and click Send.

    Related References

    Loading
    Create a Two Page Plugin App via API