App authentication is a type of authentication that generates short-lived access tokens based on a set of OAuth credentials. The access tokens are associated with your ArcGIS account, and can be used to to authenticate requests to access secure ArcGIS services and items.
App authentication is typically implemented on a web server or in standalone console scripts. This is to avoid exposing the confidential client_id
and client_secret
values contained within OAuth credentials. App authentication is not recommended for client applications without a web server, or in private applications that require users to sign in.
You can use app authentication to:
Services an app accesses with app authentication will be billed to the developer's ArcGIS account.
How app authentication works The client credentials flow used in app authentication. To learn more, go to Client credentials flowApps that implement app authentication submit requests for access tokens using an OAuth 2.0 client_id
and client_secret
. These values are generated from OAuth credentials and should remain confidential at all times.
The high-level process of app authentication is as follows:
client_id
and client_secret
from OAuth credentials in your server script.client_id
and client_secret
from OAuth credentials in your script.To learn more, go to How to implement app authentication.
OAuth credentialsOAuth credentials are an item used to support multiple types of authentication. They are required to implement app authentication. The most common pattern is to create a new OAuth credentials item for each application. OAuth credentials are used to obtain a client ID and client secret for your app, as well as to determine the privileges your application will have access to.
TopicTo learn more, go to OAuth credentials (for app authentication).
Product and account requirementsApp authentication is available with ArcGIS Location Platform, ArcGIS Online, and ArcGIS Enterprise.
To create and manage OAuth credentials for app authentication, you need an ArcGIS account with a user type of Creator or higher. Your account must also have these additional privileges:
ArcGIS Location Platform accounts have this privilege by default. If you have an ArcGIS Online or ArcGIS Enterprise account, your administrator can grant you this privilege using a custom role. Learn more in the FAQ.
NoteThe steps in this chapter apply to the latest version of ArcGIS Enteprise (11.5). To view instruction for previous versions of Enterprise, go to Developer credentials for ArcGIS Enterprise.
Tutorials Create OAuth credentials for app authenticationCreate and configure OAuth credentials to set up app authentication.
The following table provides an overview of the functionality available with each type of authentication:
API key authentication User authentication App authentication ArcGIS Location Services 1 1 1 Data services (Item access) Spatial analysis services 1 1 Portal service (General privileges) Portal service (Admin privileges) Full support Partial support No support API support Full support Partial support No supportRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4