Devise is a fantastic gem available for basic or omniauth authentication sign_up and other things like sessions maintenance, resend confirmation password etc .
But is it possible using devise to map multiple email addresses to same user ?
Like I have 3,4 email ids such as
Use Case and Example
I have already registered with my first email id i.e. sahil@abc.com using an automated system and account is created. But i always prefer to use my other email_id i.e. sahil@xyz.com. So, i want to build a system where user can login using any one of the above email adresses with the same/different password. But there should be one single account for the user.
Here is what i exactly needed RoR Devise: Sign in with username OR email
What it does is :