OAuth credentials (for app authentication)

OAuth credentials with personal privileges (for app authentication)
that have privileges with a .

OAuth credentials are an used to support authentication workflows. They are required to implement and using workflows.

Both a client_id and client_secret are required to implement .

Create OAuth credentials (for app authentication)

You can create by using the Developer credentials tool in your .

The steps to create OAuth credentials with an are:

  1. Sign in to your .

  2. Click Content > My content > New item and select .

  3. In the Credential types menu, select .

  4. Add a redirect URL and click Next. This URL is required during creation, but will not be used in app authentication.

  5. Set the credential to determine the operations your will be authorized to perform.

  6. Set the credential item access privileges to determine the your will be authorized to access.

  7. Review your selections and, when you are ready, click Generate credentials.

Redirect URLs

Redirect URLs are managed as a property of . They can be added to your credentials during the creation process, or any time through the Settings panel of the credentials .

Privileges

Service privileges DEV
The privilege selector for developer credentials

include a selector that can authorize access to secure ArcGIS . Once privileges are configured using the selector, the resulting will be authorized to access the specified services and perform operations.

The privileges available to include:

  • , such as the and
  • operations, such as creating and managing , , and groups.
  • for performing feature and raster analysis operations.

The exact privileges available depend on the ArcGIS product you are using and the roles assigned to your .

Edit privileges

You can edit the privileges of your OAuth credentials to adjust the authorization level of your application.

  1. Go to Settings on the of your .

  2. Under Application > Privileges, click the Edit privileges button.

    Edit credential privileges
  3. Select new privileges for your OAuth credentials using the privileges window. To view a list of all available privileges, go to Privileges.

  4. Click Save.

Item access privileges

Edit item access menu
The item access menu for developer credentials

also include an item access menu used to allow access to specific in a . The resulting will be authorized to access any items you specify in this menu.

The items available in this menu include all of the items owned by your account with a of Private, Group, or Organization.

Edit item access

You can edit the items that your OAuth credentials are authorized to access.

  1. Go to Settings on the of your .

  2. Under Application > Privileges, click the Edit item access button.

    Edit item access
  3. Select items to grant your OAuth credentials access to.

  4. Click Save.

Referrers

Referrers DEV
The referrers field for developer credentials

A referrer is an HTTP header field used to identify the client requesting a server resource. This functions as a security measure, allowing applications to confirm their client's identity. When have a specific HTTP referer header set, services can confirm that an incoming request's referrer matches one of the valid referrers assigned to that access token.

Specific domains can be provided or you can use wildcard characters (*) in the subdomain of your allowed referrer. For example https://*.your-app.com will allow the access token to be used on both https://dev.your-app.com and https://your-app.com. While it is also possible to restrict access token use to specific paths (https://your-app.com/page), we do not recommend this method because browsers may remove the path due to privacy concerns.

Usage tracking

All services and content accessed with are tracked. You can monitor the usage of credentials in order to view the consumption of services and the billing amount.

The steps to monitor usage vary based on the type of the credentials were created with:

developers use their to monitor service usage. To monitor service usage of , use the following steps:

  1. Go to location.arcgis.com and sign in with an .

  2. Click My dashboard > Usage > Developer credentials.

  3. In the left sidebar, select the item you would like to review usage for.

  4. In the Billing cycle selector, choose a billing cycle to inspect. The main panel of the window will show a usage report.

    Billing cycle selector
  5. Review the usage report for your . Usage information is organized by . Click Download CSV to download the information as a .csv file.

    OAuth credentials usage report
  6. Click the dropdown button on a specific service to view a usage timeline. The panel will show the resource consumption for each day of the billing cycle.

    Credentials usage timeline

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close