I am using Django and Strawberry (GraphQL) and I w...
# support-questions-legacy
f
I am using Django and Strawberry (GraphQL) and I would like to protect using the @verify_session() decorator somes queries. But I am not able because Strawberry does not accept the HttpRequest type. https://supertokens.com/docs/emailpassword/common-customizations/sessions/session-verification-in-api/verify-session How should that session travel, in a header of the request (which is its name?)? how could I do it if I get it in another way for example with
from strawberry.types import Info
?
3 Views