If you already have your client_id
and client_secret
, you can now use our Oauth2 authentication flow.
1. Authorize : Redirect your users to the authorization page. They will see a login page to authorize your application, and will then be redirected back to your application. You will get an authorization code.
2. Get an access token : Once they authorized your application, your can get an access token in exchange of the authorization code
you got
3. Refresh your token : When the access token has expired, you can refresh your access token with your refesh token
Your access_token
is a Bearer token that can be used to access your user's data.