feat(strava): add authentication support

This commit is contained in:
Ali BARIN
2022-11-06 17:20:12 +01:00
parent 8a0b5c24a5
commit 37c6b57a48
5 changed files with 198 additions and 0 deletions

View File

@@ -1,4 +1,6 @@
import defineApp from '../../helpers/define-app';
import addAuthHeader from './common/add-auth-header';
import auth from './auth';
export default defineApp({
name: 'Strava',
@@ -9,4 +11,6 @@ export default defineApp({
baseUrl: 'https://www.strava.com',
apiBaseUrl: 'https://www.strava.com/api',
primaryColor: 'fc4c01',
beforeRequest: [addAuthHeader],
auth,
});