RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Devise and Omniauth Upside Down

Devise has an omniauthable module you can mix in the User model to use providers for authentication. My claim is that the proper way of doing it is the opposite, with OmniAuth proposing a Devise strategy as yet another provider. Included : a proof of concept…. :-)

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in