I have a general question about building a user system with Omniauth: When I enable more than one authentication method I want to make sure, that a user can't sign up again through an other provider - whether it's accidentally or on purpose. My attempt was to check the email address, this is what works for most providers.
But when I add authentication via Twitter this system fails since Twitter won't publish the email of the user.
So the only way I could figure out was to add a second step of registration when signing in via Twitter (or any other login provider that doesn't publish the email) and I'm just wondering if there are any more convenient ways to do this?
Any help or suggestions are appreciated!