My app is going to support Apple and Twitter sign in.
Both are using JWT verifier of Firebase.
The problem now is there is only option of jwt but both Apple and Twitter use jwt so how do we setup and how do we login ?
Thanks for reaching out, and I’d be happy to help with your issue regarding setting up multiple JWT verifiers for Apple and Twitter sign-ins.
From your description, it seems like you’re trying to configure different JWT-based verifiers for Apple and Twitter, both using Firebase, but facing an issue with the login provider setup.
Here’s a quick summary of the details you’ve provided:
SDK Platform: Web3Auth Flutter
Issue: Trouble with setting up multiple JWT verifiers for Apple and Twitter sign-ins via Firebase
Code Snippet Provided: Yes
Error Message: “Invalid loginProvider or custom loginProvider data not available.”
To address your query:
Unique Verifier Configuration: Each verifier (appleVerifier and twitterVerifier) must be uniquely configured in your Web3Auth dashboard. Ensure that both appleVerifier and twitterVerifier are properly set up as distinct entries in your Web3Auth account.
Check Verifier Names: Double-check the verifier names being used in the code snippets for correctness. The verifier names should match exactly what is configured in your Web3Auth dashboard.
LoginProvider Issue: Ensure that when you call the Web3AuthFlutter.login() method, the loginProvider correctly corresponds to the configuration identifier you created for each service.
It appears you might be missing differentiated logic in your login method call for each provider. You should dynamically select the appropriate provider based on the user’s choice (Apple or Twitter).
Would you like me to go over this further or provide additional assistance on any of the steps? Let me know!
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.
Additionally, we would recommend you to join our biweekly Office Hours to get this resolved even faster. Web3Auth Developer Office Hours