feat(reddit): add reddit integration

This commit is contained in:
Rıdvan Akca
2023-11-10 12:47:28 +03:00
parent 3b9aadb90f
commit 354b331b08
14 changed files with 221 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import defineApp from '../../helpers/define-app';
import addAuthHeader from './common/add-auth-header';
import auth from './auth';
export default defineApp({
name: 'Reddit',
key: 'reddit',
baseUrl: 'https://www.reddit.com',
apiBaseUrl: 'https://oauth.reddit.com',
iconUrl: '{BASE_URL}/apps/reddit/assets/favicon.svg',
authDocUrl: 'https://automatisch.io/docs/apps/reddit/connection',
primaryColor: 'FF4500',
supportsConnections: true,
beforeRequest: [addAuthHeader],
auth,
});