Duplicate token found when using Discord Custom Authentication

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.