First, our client permission to access a sma users ressources. Therefore, we request permission.
Now that the user has given us permission, we can exchange once the code for an access token and refresh token. Use this step to obtain an access and refresh token
Now that we exchanged the code for tokens, we save them. Every 5 Minutes, we use the refresh token to request a new access token. Use this step to get a new access token.