There seems to be some bug in the code. Please contact support to fix this.
Invalid params for jwt login. Missing domain*
Error: Invalid params for jwt login. Missing domain: traceId: undefined - spanId: undefined
Thanks for reaching out. It seems you’re experiencing an issue with using the enableMFA() function alongside Auth0 JWT in the Plug n Play SDK.
From the error message, it appears that the domain parameter might be missing in your Auth0 JWT login configuration. To better assist, could you please check the following:
Code Snippets: Share the section of your code where you’re initializing Web3Auth and setting up the JWT login. It will help us identify if there’s any missing configuration.
Check Parameters: Ensure that your JWT login configuration includes all necessary parameters, specifically the domain related to your Auth0 setup.
If you provide the code and any additional configuration details, the support team will be able to help you further!
Let me know if you need help with anything else.
Note: This response was generated by an AI bot and may require further verification. The Web3Auth support team has tracked this issue and will be responding as soon as possible.
We have successfully reproduced the issue on our end and have shared it with our product team for further investigation.
One approach that seems to work for enabling MFA is passing the idToken. However, for this to work with Auth0, you will need to allow login separately and extract the idToken, which is a more complicated process. We will follow up with you once we have an update.