In my app, I did the integration with figma, I and saw that I do get the access token and the refresh token. My question is does auth0 takes care of refreshing the access token when it expires?
Unfortunately, Auth0 does not automatically refresh the access token. Instead, you will have to silently authenticate the user with the already obtained refresh token to get a new access token without prompting the user for their credentials again.
Note that once the userβs session has expired, they will need to log in again to produce a new access token and refresh token.
Hoped this helps!
Please do not hesitate to reach out if you have any further questions.