DEV Community

Cover image for Omniauth without Devise

Omniauth without Devise

Yaroslav Shmarov on February 07, 2023

Previously I’ve covered Github omniauth with Devise, and Github omniauth with Devise without email registration. An even simpler solution would be...
Collapse
 
ahmednadar profile image
Ahmed Nadar

Nice article as usual.
I have noticed many apps are using different authanitcation way these days.
Do you think Rails apps should implement authanitcations without Devise

Collapse
 
superails profile image
Yaroslav Shmarov

It really depends on what you are building. For many cases omniauth-only would be enough.

Sometimes, getting a confirmed email address can be much more valuable, than having an omniauth user account.

I think that devise via email/password + omniauth still stays the most versatile approach.

Collapse
 
idd profile image
Ivo Di

After trying an official omniauth and devise and omniauth-google-oauth2 docs i couldn't make it all working. But thanks for your article I finally did what I wanted.
❤️

Collapse
 
superails profile image
Yaroslav Shmarov

wow, I'm glad it helped you!