OmniAuth Alternatives
-
Devise
Flexible authentication solution for Rails with Warden.
-
dotenv
A Ruby gem to load environment variables from `.env`.
-
Scout
Get performance insights in less than 4 minutes. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
-
Nokogiri
Nokogiri (鋸) is a Rubygem providing HTML, XML, SAX, and Reader parsers with XPath and CSS selector support.
-
handtrack.js
A library for prototyping realtime hand detection (bounding box), directly in the browser.
-
bcrypt-ruby
bcrypt-ruby is a Ruby binding for the OpenBSD bcrypt() password hashing algorithm, allowing you to easily store a secure hash of your users' passwords.
-
activerecord-analyze
Add EXPLAIN ANALYZE to Rails Active Record query objects
-
ecto_extras
Ecto helper functions.
-
rails_time_travel
-
open-uri
-
omniauth-osso
Omniauth provider for Osso OAuth
-
osso-react
React components and hooks for interacting with an Osso instance
-
saml-rails
Various approaches for adding SAML SSO to a Rails 6 app
-
sinatra-ruby-idp
Sinatra app that acts as a simple IDP
-
PlanMyMDVisit
The MVP of Plan My MD Visit app is to create a virtual patient system where the automation benefits patient 24/7 seeking virtual medical assistance, improving overall patient well-being.
-
Ghostbusters-on-Rails
Posts
-
Add SAML SSO to a Rails 6 app
We’ll use a Ruby gem omniauth-multi-provider to support SAML multi-tenancy. omniauth-saml will handle that actual SAML bits, and this library uses ruby-saml internally, much in the same manner we used it in the single-tenant approach. OmniAuth is a Ruby library that “standardizes multi-provider authentication for web applications.” If you’ve implemented OAuth in a Rails app you’re likely familiar with this library. It integrates well with Devise, and offers a framework for engineers to create Strategies for OmniAuth for authenticating against external services. If you’re not familiar with OmniAuth it’s worth familiarizing yourself - https://github.com/omniauth/omniauth.
- Omniauth-twitter gem weird behavior nothing on stack overflow
-
Ghostbusters on Rails
This is very similar to Sinatra in the way that you use sessions to store a user_id after verifying with bcrypt. But, for this app I needed to have a third party log in. I love Google and all of its googliness. So I chose to use Google to log in with. Now this wasn't so easy. The first thing to do is to get a developer profile with google, and add the required gems into the app. Omniauth and Dotenv are a must. You will need to create a project and add the allowed URI's to it. Then you get a ID and secret for your project. After putting the ID and secret into the env file your can setup the controller and route to handle the login request.
-
SAML vs. OAuth
OAuth remains a popular authentication mechanism today, for both consumer and business applications. It’s incredibly easy to implement - languages and frameworks often have standardized approaches or libraries that make this easier. In Ruby, there’s omniauth, “a library that standardizes multi-provider authentication for web applications”. Any developer can create an omniauth “strategy” for a specific web service. Passport is a similar approach for NodeJS apps.
-
Plan My MD Visit
I challenged myself to set two authentication providers alongside the traditional username and password set up. Ruby gem omniauth provides a gateway to utilizing multi-provider authentication strategies. While GitHub relies on gem omniauth-github, Google depends on gem omniauth-google-oauth2. Gem dotenv-rails is required to securely save PROVIDER_CLIENT_ID and PROVIDER_SECRET. I defined the Rack Middleware in Rails initializer at config/initializers/omniauth.rb.
-
Weeks Interestings Round Up 1/17/2020
OmniAuth hits 2.0 with some breaking changes. Check out their upgrade guide https://github.com/omniauth/omniauth/releases/tag/v2.0.0
-
Declaring multiple sets of scopes for the same provider with Devise and OmniAuth in Rails
Change the OAuth callback route to /users/auth/slack_app/callback instead of /users/auth/slack/callback. (If you’re curious, here’s the bit of code in OmniAuth that’s responsible for inferring the callback URL.)
If you’re familiar with the Rails ecosystem, the names Devise and OmniAuth might ring a bell: the former is a gem that handles (nearly) everything related to authentication; coupled with the latter, it makes implementing popular Social Login providers (e.g. Login with Facebook, or Twitter, or GitHub…) a breeze.
Stats
omniauth/omniauth is an open source project licensed under MIT License which is an OSI approved license.