Front end should call backend operation to start exchange process. Add server method to exchange authorization code for access (and refresh) token.
Input:
authorization code
server name
Output:
access token
refresh token (?)
request info
response info
Frontend should pass in an authorization code obtained on the previous step. The backend handler for the client request should
Front end should call backend operation to start exchange process. Add server method to exchange authorization code for access (and refresh) token. Input:
Output:
Frontend should pass in an authorization code obtained on the previous step. The backend handler for the client request should
TOKEN_ENDPOINT?client_id=CLIENT_ID&client_secret=CLIENT_SECRET&grant_type=authorization_code&code=AUTHORIZATION_CODE&redirect_uri=CALLBACK_URL
Token info has the format:
with possible additional fields.