Skip to main content

Enable OAuth 2.0 Authentication

Workspace administrators can enable the use of OAuth 2.0 authentication for creating connections to third-party datastores that support OAuth 2.0 or greater authentication.

OAuth 2.0 is an industry-standard protocol for authorization between systems. In Alteryx Analytics Cloud (AAC), it is implemented as a security protocol for access to data sources and publishing destinations. Alteryx adminstrators can enable users of the product to connect to specified third-party systems through an OAuth 2.0 client app that you create in the system, using an OAuth 2.0 client reference that is created in AACAAC.

When enabled and configured, AACAAC uses the OAuth 2.0 client to create a secure token, which is used to authenticate to the third-party system.Requirements:

  • OAuth 2.0 client app: In the target system, you must create an object called a client app, which provides an authentication interface into the system for external connections.

    • You must create one client app for each external system to which you are enabling connectivity.

  • OAuth 2.0 client: In AACAAC, you must create at least one configuration object for each client app that you have created.

Details on these requirements are listed below.

Create OAuth 2.0 App

For each target system, you must create an OAuth 2.0 app in the system, which provides an external interface for AACAAC.

注意

The requirements for creating an OAuth 2.0 app depend on the system. Some example setups are available below. For more information, please see the documentation provided with your target system.

Create OAuth 2.0 Client

A client is created in AACAAC for you.

注意

When configuring an OAuth 2.0 connection, you must select the OAuth 2.0 client when creating the connection.

Authenticate OAuth 2.0 Connections

When you create a connection that uses OAuth 2.0, the specified connection must be authorized to be given access to the datastore. In the Create Connection window, click Authenticate.

注意

If you modify a connection or the tokens generated under the previous authorization have expired, you must re-authenticate the connection. Edit the connection and click Re-authenticate.