Published on

Mercury Integrates Auth0 in Its Auth Flow: How it Works and How to Migrate.

Authors

The Mercury user experience just got 100x better!

We've finished integrating with Auth0 in both our frontend and backends, here is what changes from now:

  • No more double sign-up/sign-in when switching networks: a single account is valid on both mainnet and testnet.
  • More rigorous and feature-rich signup process and safer login.
  • Log in with Google if you're in a rush!
  • Once you migrate, no more API key generation through the authenticate mutation.
  • 30 days valid API tokens.

Will this impact my service?

The update is backwards-compatible so this doesn't immediately affect your account. However, once you access the webapp (either testnet or mainnet) your account will be migrated to V2 and you will start noticing changes if you're relying on the authenticate endpoint to generate JWTs.

How to migrate.

To perform the migration you just have to access the webapp and sign-up with your account's email address, verify the email (or just use google sign-in if it's a google account), and you're in!

I am experiencing issues.

If you're experiencing any issues related to the auth scheme update, please reach us out through the xycloo discord server or through [email protected].