Checking the Validity of the sessionId

Is there a way I can check for the validity of the sessionId stored on the local storage before authenticating users?
I mean how do I check and confirm that the token on the local storage was actually issued by web3auth?

Please provide the following details too when asking for help in this category:

  • SDK Version:
  • Platform:
  • Browser Console Screenshots:
  • Related to Custom Authentication? Please provide the following info too: (Optional)
    • Verifier Name:
    • JWKS Endpoint:
    • Sample idToken(JWT)

Please provide the Web3Auth initialization and login code snippet below:

1 Like

@u.h.ugwu Thanks for your question.

Your request has been forwarded to our team and we will get back with further updates.

1 Like

Hello @u.h.ugwu
If the user is logged in then web3auth.authenticateUser() would return the idToken and user information for the user.