This diagram outlines the high level steps in the OAuth2 authorization workflow.
Step 1. Request authorization code
Your application should redirect users to the ClassLink Authorization server and request access to data.
Step 2. User will login and consent to access
If the user is logged in, they will be presented with a screen with the request.
Step 3. ClassLink will respond with response code
A code will be returned to your redirect_uri in step 1.
Step 4. Exchange code for access token
Your application should now exchange the response code for an access token.
Step 5. ClassLink will respond with an access token
A bearer token will be returned to your application which is used to request data from our APIs.
Step 6. Access APIs with access token
Now you are ready to access data for the currently logged in user.
Updated almost 2 years ago