Join Discord
Powered by
Hi, I'm looking at the Blitz.js example [1] and I'...
# support-questions-legacy
a
agostbiro
08/08/2021, 4:45 PM
Hi, I'm looking at the Blitz.js example [1] and I'm wondering how can I get the user id on the server from the session? Specifically, the `getCurrentUser`[2] query in the example doesn't seem to be connected with Supertokens. How can I adapt it to return the authenticated user? [1]
https://github.com/supertokens/supertokens-auth-react/tree/master/examples/with-blitz
[2]
https://github.com/supertokens/supertokens-auth-react/blob/master/examples/with-blitz/app/users/queries/getCurrentUser.ts
12
Views
Previous
Next