So I looked into it more. I have a main nextjs application where the main auth server is running and a separate flask api on a different subdomain that needs to verify sessions.
When I am using the nextjs applications everything seems fine, but the flask application for some reason is not properly verifying the sessions. No matter how many times I refresh it seems to say the accessToken is invalid and gives a
TryRefreshToken
error.
I am trying to see if I can log more information about the session using a test route that has
session_required=True
but still not sure why that disparity would exist.
This error suddenly manifested after switching our domain to start using www
n
nkshah2
05/05/2022, 3:18 AM
Hi @marshmalon,
Please follow the troubleshooting guide in the docs and post the log output here
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).