http://localhost:3000/auth-redirectfor this tutorial.
localhost:3000for this tutorial.
fetchfunction which automatically handle this, or you can get the token with
fetchfunction for you to call your application server. This
fetchfunction will include the Authorization header in your application request, and handle refresh access token automatically. The
refreshAccessTokenIfNeededevery time before using the access token, the function will check and make the network call only if the access token has expired. Include the access token into the Authorization header of the application request.