Duplicate token found when using Discord Custom Authentication

:classical_building: Content from Web3Auth Community

This topic was originally posted by shahbaz on 1/26/2023.
This content has been migrated from our previous community forum to preserve valuable discussions.


Receiving Could not get result from torus nodes Duplicate token found error when using Custom verifier for Discord.

  • This is because Discord issues the same token for 30 mins.
  • We revoke it for you for default verifiers( such as when using Web3Auth Modal @webauth/modal).
  • But when using Custom Verifier for Discord, the integrating dApps have to revoke the token themself before attempting the next login by using discord clientId and secret to revoke the token.