Configure the CityEngine redirect URIs on an ArcGIS Enterprise portal

Portal administrators can create or update the registration information needed to sign in on their portal when using a browser.

For ArcGIS Enterprise 11.1 and later

  1. Open the Portal Administrator Directory in a web browser (https://<domain>/<webadaptorname>/portaladmin).
  2. Click Login and sign in as the portal administrator user.
  3. Click Security > OAuth > Update App Info.
  4. In the text box, type the following lines (include the braces):
    {
      "appId":"cityenginedesktop",
      "redirectURIs":[
        "urn:ietf:wg:oauth:2.0:oob",
        "http://127.0.0.1:50212/auth",
        "http://127.0.0.1:51883/auth",
        "http://127.0.0.1:52677/auth",
        "http://127.0.0.1:53664/auth",
        "http://127.0.0.1:54177/auth",
        "http://127.0.0.1:56272/auth",
        "http://127.0.0.1:57736/auth",
        "http://127.0.0.1:59916/auth",
        "http://127.0.0.1:62333/auth",
        "http://127.0.0.1:64615/auth",
        "http://[::1]:50212/auth",
        "http://[::1]:51883/auth",
        "http://[::1]:52677/auth",
        "http://[::1]:53664/auth",
        "http://[::1]:54177/auth",
        "http://[::1]:56272/auth",
        "http://[::1]:57736/auth",
        "http://[::1]:59916/auth",
        "http://[::1]:62333/auth",
        "http://[::1]:64615/auth"
      ]
    }
  5. Click Update App.

For ArcGIS Enterprise 11.0 and earlier

  1. Sign in to the portal as the portal administrator user.
  2. Click Content.
  3. Click New item.
  4. Click Application.
  5. Choose Other application and click Next.
  6. Enter CityEngine into the title and click Save.
  7. On the item page, click Settings next to the Overview tab.
  8. Click Registered Info at the bottom.
  9. Copy the string just below App ID.
  10. Open a new browser tab and enter the Portal Administrator Directory URL (https://<domain>/<webadaptorname>/portaladmin).
  11. Click Login and sign in as the portal administrator user.
  12. Click Security > OAuth > Update App Info or Change App Info.
  13. Enter the string copied in step 9 as the Current App ID and type cityenginedesktop for the New App ID.
  14. Click Change App ID.
  15. Click Update App Info.
  16. In the text box, type the following lines (include the braces):
    {
      "appId":"cityenginedesktop",
      "redirectURIs":[
        "urn:ietf:wg:oauth:2.0:oob",
        "http://127.0.0.1:50212/auth",
        "http://127.0.0.1:51883/auth",
        "http://127.0.0.1:52677/auth",
        "http://127.0.0.1:53664/auth",
        "http://127.0.0.1:54177/auth",
        "http://127.0.0.1:56272/auth",
        "http://127.0.0.1:57736/auth",
        "http://127.0.0.1:59916/auth",
        "http://127.0.0.1:62333/auth",
        "http://127.0.0.1:64615/auth",
        "http://[::1]:50212/auth",
        "http://[::1]:51883/auth",
        "http://[::1]:52677/auth",
        "http://[::1]:53664/auth",
        "http://[::1]:54177/auth",
        "http://[::1]:56272/auth",
        "http://[::1]:57736/auth",
        "http://[::1]:59916/auth",
        "http://[::1]:62333/auth",
        "http://[::1]:64615/auth"
      ]
    }
  17. Click Update App.

Note:
When using this sign-in method from CityEngine, the authentication code is sent unencrypted from the system browser to CityEngine through the loopback network interface (127.0.0.1 or ::1). However, the authentication code will not leave your computer, and additional means to protect the authorization code (PKCE) are implemented.