rodauth-omniauth
omniauth-oauth2
rodauth-omniauth | omniauth-oauth2 | |
---|---|---|
3 | 3 | |
48 | 491 | |
- | 0.4% | |
3.7 | 5.9 | |
24 days ago | 4 months ago | |
Ruby | Ruby | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rodauth-omniauth
-
Social Login in Rails with Rodauth
In this article, I show how to set up the rodauth-omniauth gem I had created in a Rails app, and customize the flow. This gem provides a much more integrated solution compared to Devise, in the sense that it implements the OmniAuth callback phase, automatically registering the user and/or logging them in, and persisting their external identities. It supports multiple providers, and essentially codifies this OmniAuth guide.
While Devise provides a convenience layer around OmniAuth, it does nothing to actually sign the user into your app. When I started writing the OmniAuth integration for Rodauth, I wanted to go one step further and actually handle things like persistence of external identities, account creation and login, while still allowing the developer to customize the behaviour. That's how rodauth-omniauth was created. ✨
- rodauth-omniauth released: login & registration with multiple external providers
omniauth-oauth2
-
Social Login in Rails with Rodauth
It depends on what you mean by OAuth 2.0. If you want your app to be an OAuth 2.0 provider, then you'd use rodauth-oauth. If you want to enable your users to login through external apps that implement the OAuth 2.0 protocol, then OmniAuth is what you'd use. Not all external apps implement login via the OAuth 2.0 protocol, those that do will have their OmniAuth strategies inherit from omniauth-oauth2.
-
26 most popular Ruby/Rails repositories on GitHub in July-August 2020
OmniAuth OAuth2 is a gem that contains a generic OAuth2 strategy for OmniAuth. It is meant to serve as a building block strategy for other strategies and not to be used independently (since it has no inherent way to gather uid and user info). 404 stars by now
-
Everybody hates CSRF
Omniauth-OAuth checks for a state value sent in with the request that should be available within the session when the callback is performed (source here)
What are some alternatives?
rodauth-oauth - (Mirror) Roda OAuth and OpenID provider plugin
omniauth-apple - OmniAuth strategy for Sign In with Apple
OmniAuth - OmniAuth is a flexible authentication system utilizing Rack middleware.
rotp - Ruby One Time Password library
Rodauth - Ruby's Most Advanced Authentication Framework
omniauth-twitter2 - OmniAuth strategy for authenticating with Twitter OAuth2
Roda - Routing Tree Web Toolkit
rainbow - Ruby gem for colorizing printed text on ANSI terminals
localhost
truemail - 🚀 Configurable framework agnostic plain Ruby 📨 email validator/verifier. Verify email via Regex, DNS and SMTP. Be sure that email address valid and exists. [Moved to: https://github.com/truemail-rb/truemail]
counter_culture - Turbo-charged counter caches for your Rails app.
squib - A Ruby DSL for prototyping card games.