Hi, I have a question regarding refreshing access ...
# support-questions-legacy
m
Hi, I have a question regarding refreshing access tokens. First let me detail my setup. I have a Nextjs application that calls an API (a nodejs server) for its data. The API implements the server-side SuperTokens SDK. The Nextjs application only implements the client-side SDK. I.e. only the API communicates with the supertokens-core. When the Nextjs app does a server-side request to a protected API endpoint it is possible that the access token has expired. If so, the Nextjs app must communicate this to the client, such that the client can try to refresh the access token.
3 Views