<aside> 💡 We recommend you look at the API documentation of the app you want to set up oAuth for.

</aside>

To set up oAuth you need to have an account with your app and create FlowMate as an app there. A registered app is assigned a unique Client ID and Client Secret which will be used in the OAuth flow. The Client Secret should not be shared.

After you have created your app, click "Active Connector" in FlowMate in the connector. Here you have to enter Client ID and Client Secret, as well as Auth Endpoint and Token Endpoint, which you have to create yourself.

Bildschirm­foto 2023-03-30 um 11.02.11.png

Auth Endpoint & Token Endpoint

In this article, we use Slack as an example to create an Auth Endpoint and Token Endpoint.(https://api.slack.com/legacy/oauth)

<aside> ‼️ Note that oAuth is individual for different apps because of different scopes, etc.

</aside>

Auth Endpoint:

To generate the Auth Endpoint, you need to pass an URL with values that your app specifies. These include the client ID and client secret. You can find more information in the documentation of your application. Some values are required and some values are optional.

In the case of Slack, this is how the URL looks: https://slack.com/oauth/authorize

Now you have to pass some more values: