English

Bug: Register option is not available on the Item Details page for apps in the Portal for ArcGIS home application

Description

In the Portal for ArcGIS home application, the Item Details > Register option for apps is not available.

Cause

This is a known issue.

If the app being registered is hosted on the same web server as the web adaptor that is configured with the portal, the Item Details > Register option is not displayed on the page.

Workaround

Register the app using the ArcGIS Portal Directory sharing application.

  1. Open the Item Details page for the app item.
  2. Copy the item ID portion of the URL.

    In the following example, the ID is '42ea1b5cdefd4013ac13038927f237d6'.

    http://webadaptorhost.domain.com/arcgis/home/item.html?id=42ea1b5cdefd4013ac13038927f237d6

  3. Open the ArcGIS Portal Directory sharing application and log in as a member with administrative privileges. The URL is in the format:

    https://webadaptorhost.domain.com/arcgis/sharing/rest

  4. Navigate to Home > OAuth2 > Register App.

    https://webadaptorhost.domain.com/arcgis/sharing/oauth2/registerApp

  5. In the Register App form, enter:

    • Item ID: This is the ID copied in Step 2
    • App Type: Select either browser, native, server, or multiple from the dropdown
    • Redirect URIs: Enter using the format ["https://<server>:<port>"] or ["https://<server>:<port>","https://<server1>:<port>"]. These are valid addresses that users of the app can be redirected to after they successfully log in.
  6. Click Register App. The Registered App page displays the App ID and App Secret.