https://metahub.vercel.app/oauth/authorize?clientId={{clientId}}
1) clientId - The Client ID for your application. Can be found in the OAuth Apps section on the website.
3) You will be redirected to the callback url you provided with a code
in URL Query Parameters as such -
callbackUrl/?code={{code}}
http://metahub-api.herokuapp.com/auth/access_token?code={{code}}&clientId={{clientId}}&clientSecret={{clientSecret}}
2) clientId - The Client ID for your application. Can be found in the OAuth Apps section on the website.
3) clientSecret - The Client Secret for your application. Can be found in the OAuth Apps section on the website.
To send authenticated requests, set an Authorization
header with the access token as its value. For eg -
curl -H "Authorization: ACCESS-TOKEN" http://metahub-api.herokuapp.com/auth/me
POST http://metahub-api.herokuapp.com/report
http://metahub-api.herokuapp.com/report