Thanks for reaching out! I understand you’re facing an issue with different accounts for different login methods while using the Aggregate Multiple Providers feature in the PnP Web SDK. Here’s a summary of the details you’ve provided:
SDK Details: PnP Web SDK
Platform: Not explicitly mentioned, but assuming it’s JavaScript based on the code snippet.
Issue: Different accounts for different login methods (same for Google and email/passwordless, different for Twitter).
Login Methods: Google, Twitter, and Email Passwordless.
Here’s a snippet of the code you shared for clarity:
Verification of Twitter Configuration: Ensure that the Twitter integration is set up correctly, particularly the verifier and client ID. Sometimes the configuration settings can cause different accounts to be created.
Consistent Verifier: Check if the verifier being used for the Twitter login method aligns with the other methods. Consistency here can help maintain a single account across different login types.
Account Linking: If not already implemented, consider account linking in your backend for the same user to consolidate accounts into one.
If you can, please check the following:
Any error messages in the browser console that could provide insights.
Whether the issue persists across different networks or environments.
If you have any additional images or links that could help in diagnosing the problem, feel free to share those!
I hope this helps, and I look forward to hearing back from you!
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.