I'm using Next.JS with an express JS API, and after authenticating, I can't seem to use my API if it is using the verifySession() middleware, I just keep getting these errors when trying to make Axios POST requests to my API:
Cookie “sAccessToken” has been rejected because it is already expired.
Cookie “sRefreshToken” has been rejected because it is already expired.
r
rp_st
04/11/2023, 5:02 AM
hey @tinofileccia this usually happens if your backend / core / frontend is out of sync in terms of time
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).