This may have already been fixed but I'm getting u...
# support-questions-legacy
a
This may have already been fixed but I'm getting userId to be
DEFAULT_USER_ID
when using
useSessionContext()
from
supertokens-auth-react/recipe/session
. I was expecting an ID like
4c6568d0-2acb-4cf0-9ac0-b6c0b6c49a92
. My SDK version is 0.23.1
r
You need to make sure that you wrap your components in The auth wrapper.
a
What would that component be pls?
SuperTokensWrapper?
r
You should wrap your whole app with that, and then this error should go away.