you can get the user id in the client like this, a...
# support-questions-legacy
b
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