Appmixer
Search…
Using OAuth applications
How to install pre-packed OAuth applications.
Appmixer comes with set of prepared components (applications). Some of them use OAuth 1 (Twitter) authentication mechanism and some of them (Slack, Google) use OAuth 2 authentication mechanism.
If you try to use Slack component right after fresh Appmixer installation you will get an error Missing client ID.
In case of OAuth 1 application the error will be Missing consumer key. As described in here the OAuth applications need these secrets. The reason we do not provide these secrets with Appmixer is simple. Part of the OAuth application registered in the third party service is the redirect URL which points to your server URL where the Appmixer backend API is running.
Therefore you need to create these OAuth application on your own. At the end of the process you will always get client ID and client Secret (OAuth 2). Appmixer expects these variables to be part of ENV. Here is the list of all ENV variables that you can set for the pre-packed applications if you want to start using them.
1
ASANA_CLIENT_ID=
2
ASANA_CLIENT_SECRET=
3
DROPBOX_CLIENT_ID=
4
DROPBOX_CLIENT_SECRET=
5
EVERNOTE_CONSUMER_KEY=
6
EVERNOTE_CONSUMER_SECRET=
7
FACEBOOK_APP_ID=
8
FACEBOOK_APP_SECRET=
9
GITHUB_CLIENT_ID=
10
GITHUB_CLIENT_SECRET=
11
GOOGLE_CLIENT_ID=
12
GOOGLE_CLIENT_SECRET=
13
HIGHRISE_CLIENT_ID=
14
HIGHRISE_CLIENT_SECRET=
15
HUBSPOT_CLIENT_ID=
16
HUBSPOT_CLIENT_SECRET=
17
JIRA_CLIENT_ID=
18
JIRA_CLIENT_SECRET=
19
LINKEDIN_CLIENT_ID=
20
LINKEDIN_CLIENT_SECRET=
21
MAILCHIMP_CLIENT_ID=
22
MAILCHIMP_CLIENT_SECRET=
23
SAGEONE_CLIENT_ID=
24
SAGEONE_CLIENT_SECRET=
25
SAGEONE_CLIENT_SIGNING_SECRET=
26
SAGEONE_USER_AGENT=
27
SALESFORCE_CLIENT_ID=
28
SALESFORCE_CLIENT_SECRET=
29
SHOPIFY_CLIENT_ID=
30
SHOPIFY_CLIENT_SECRET=
31
SLACK_CLIENT_ID=
32
SLACK_CLIENT_SECRET=
33
TRELLO_APP_KEY=
34
TRELLO_APP_SECRET=
35
TWITTER_CONSUMER_KEY=
36
TWITTER_CONSUMER_SECRET=
37
TYPEFORM_CLIENT_ID=
38
TYPEFORM_CLIENT_SECRET=
39
WORDPRESS_CLIENT_ID=
40
WORDPRESS_CLIENT_SECRET=
Copied!

GRIDD_URL

There is another ENV variable that is used for Oauth redirects. It is called GRIDD_URL.
1
engine:
2
...
3
environment:
4
- APPMIXER_API_URL=${APPMIXER_API_URL:-http://localhost:2200}
5
- GRIDD_URL=${APPMIXER_API_URL:-http://localhost:2200}
6
...
Copied!
By default, the GRIDD_URL will be set to http://localhost:2200. This is fine for local development. For most of the services, you can register http://localhost:2200 as a callback URL. In production, this has to point to your Appmixer's public API URL.
If you run the following command:
1
APPMIXER_API_URL=https://247bb870a6f4.ngrok.io docker-compose --project-name appmixer up
Copied!
It will set both the APPMIXER_API_URL and the GRIDD_URL to the https://247bb870a6f4.ngrok.io.
Another way would be replacing the variables directly in docker-compose.yml file.
1
engine:
2
...
3
environment:
4
- APPMIXER_API_URL=https://247bb870a6f4.ngrok.io
5
- GRIDD_URL=https://247bb870a6f4.ngrok.io
6
...
Copied!
Or you can set just the GRIDD_URL like this:
1
engine:
2
...
3
environment:
4
- GRIDD_URL=https://247bb870a6f4.ngrok.io
5
...
Copied!
If APPMIXER_API_URL is not set, Appmixer will use value from GRIDD_URL.
Appmixer engine will print out values of these variables when starting so you can check they are set correctly:
Last modified 1yr ago
Copy link
Contents
GRIDD_URL