Hi @Patrick Brown , Thanks for reaching out you can use refresh token if your access tokens have expired.
Please refer the this refresh-tokens
Hope this helps.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am running a NextJS serverless application.
I am using msal-node to acquire a token, which is then passed to the microsoft graph client ( @microsoft/microsoft-graph-client ) like this tutorial here: https://learn.microsoft.com/en-us/graph/tutorials/node?tutorial-step=3
However in that example the local token cache is used to find the account and acquireTokenSilent is used which is supposed to transparently handle token refresh
In a serverless application where it may be restarted at any time, what is the correct way to store, retrieve, and pass tokens to the graph client?
Thanks
Hi @Patrick Brown , Thanks for reaching out you can use refresh token if your access tokens have expired.
Please refer the this refresh-tokens
Hope this helps.