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