Join Discord
Powered by
you can get the user id in the client like this, a...
# support-questions-legacy
b
bitcoinrippin
09/17/2023, 2:43 PM
you can get the user id in the client like this, assuming react js import Session from "supertokens-auth-react/recipe/session"; import axios from "axios"; Session.addAxiosInterceptors(axios); ... let sessionUserId = await Session.getUserId();
5
Views
Previous
Next