Oauth 2.0 Credential

OAuth 2.0 is the industry-standard protocol for authorization.

Create app

Before you can begin the OAuth process, you must first register a new app with the service you wish to integrate with Tines (e.g.: Google, Facebook, Okta). When registering a new app, you usually register basic information such as application name, website, a logo, etc. In addition, you must register a redirect/callback URL. The callback/redirect URL you should enter when registering the app is provided on the “Create new credential” page and takes the form: https://<tenant-name>.tines.io/oauth2/callback

Sample callback URL
Sample callback URL

Creating the credential

Client ID & secret: After registering your app with the 3rd-party service, you will receive a client ID and a client secret. The client ID is considered public information, the client secret must be kept confidential.

Scope: Enter one or more scope values indicating which parts of the user’s account you wish to access

Grant type: Tines supports client_credentials and authorization_code grants. Chose the type corresponding to the application you registered.

Oauth url and Oauth token url: Enter the Oauth url and Oauth token url corresponding to the service with which you registered your app. This information is typically provided when registering the app.

Saving the credential

After entering the required information, press “Save credential”. When using an authorization_code grant, you will be directed to the 3rd-party service and asked to authorize access to your account.