https://supertokens.com/ logo
#support-questions
Title
# support-questions
r

rp

08/13/2021, 9:26 AM
You can create a middleware that does session verification with the
sessionRequired: false
(See https://supertokens.io/docs/thirdpartyemailpassword/common-customizations/sessions/session-verification#optional-session-verification) This would be applied to all requests from your apollo client. Then in you graphql server, maybe you could somehow check if
req.session !== undefined
?
2 Views