OAuth 2
Many services like Google, AzureAD or Github allow to connect by using the OAuth 2 authentication protocol.
These steps are the same for every connection
Create a data source by clicking `Add Data Source`
Enter a useful name
Select
URL\REST
as typeSelect
OAuth 2
in AuthenticationEnter the Client ID & Client Secret provided by the service you want to connect to
Copy the
Callback URL
presented and authorize this redirect url in the remote service configuration
Grant Types
A grant type defines how the app can obtain an access token. We offer two options to choose from:
Authorization Code
Client Credentials
Authorization Code
This is the most common grant type
and supported by most services. After a user consents access the app can obtain an access token.
Client Credentials
This grant type is used to obtain an access token outside of the context of a user. It is easier to setup because user consent is not needed with this flow. We recommend using this flow if the service you want to connect to supports it.