Skip to main content
Version: 7.2.X

getUserId()

Parameters#

  • none

Returns#

  • string - unique ID passed to the library when creating this session.

Throws#

  • nothing
Which frontend SDK do you use?
supertokens-web-js / mobile
supertokens-auth-react