Rodauth
sequel-activerecord_connection
Rodauth | sequel-activerecord_connection | |
---|---|---|
18 | 5 | |
1,621 | 125 | |
- | - | |
8.2 | 5.9 | |
11 days ago | 23 days 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
-
Passkey Authentication with Rodauth
Rodauth provides first class support for passkeys, implemented on top of the excellent webauthn-ruby gem. It enables using passkeys as a multifactor authentication method, or for passwordless login and registration. In addition to routes, views and database storage, it also provides the complete JavaScript part that interacts with Web Authentication API for zero configuration.
- Rodauth: Ruby's Most Advanced Authentication Framework
-
why is devise industry standard?
I can recommend rodauth: https://github.com/jeremyevans/rodauth It ships with a ton of things. Check out the features section.
-
A First Look at Hanami 2 for Ruby
In general, even though the Hanami ecosystem lacks any "plug-and-play" solutions such as Devise, you can use many existing libraries not tightly coupled to Ruby on Rails. For authentication, you can use Warden, OmniAuth or Rodauth. For uploads there is Shrine. The pagination is built into ROM. Integration with exception catchers such as Rollbar is easy.
-
Social Login in Rails with Rodauth
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. ✨
-
Time to think about swapping off Devise?
You can find the list of possible error identifiers here.
-
I’ve started discussion + work on updating Devise to support passkeys; we need contributors!
You probably meant the webauthn_login, which already supports passwordless.
-
What It Took to Build a Rails Integration for Rodauth
When Rodauth came out, I was excited to finally have a full-featured authentication framework that wasn't tied to Rails, given that existing solutions required either Rails (Devise, Sorcery), or at least Active Record (Authlogic). Even though I mainly develop in Rails, I want other Ruby web frameworks to be viable alternatives, so I'm naturally drawn to generic solutions that everyone can use.
-
Web user authentication libraries in Go
I wish there was the equivalent of this lib in go https://github.com/jeremyevans/rodauth
sequel-activerecord_connection
-
What It Took to Build a Rails Integration for Rodauth
For the integration to work, I would need to make Sequel reuse Active Record's database connection. I discussed this idea with Jeremy Evans (the lead Sequel maintainer), and he provided me with some guidance, thanks to which I was able to come up a solution. It was a Sequel extension that retrieved Active Record connections, kept transaction state and callbacks synchronized between Sequel and Active Record, integrated SQL instrumentation, and reconciliated adapter differences (see my previous article for more details).
-
Why Sequel ORM faster than ActiveRecord
Our Rails app at work is using Active Record, but I started non-apologetically using Sequel for any features I'm missing from Active Record, because I don't have the patience for Active Record to catch up. For our analytics database we're using only Sequel, because AR was missing too many features (see my article), while for our main database we're using it in tandem with Active Record, reusing Active Record's database connection. I'm pretty happy that the latter is now possible, as it gives people the opportunity to try out Sequel without any overhead.
-
Ruby gem for authentication : rodauth
The way I look at it, a pure Active Record implementation could never be fully complete. That's why I instead chose the path of making Sequel integrate seamlessly with Active Record, by sharing a database connection as /u/honeyryderchuck said, hooking into Active Record's query instrumentation, and also by making Sequel transactions interoperable with Active Record's. It's also worth noting that core Sequel is significantly lighter than Active Record.
-
How does Ruby's OOP translate to Rails?
the main impediments to my using sequel in Rails are: authentication - which has largely been solved. Janko has written a gem allowing for rod auth to be used with rails, easily. https://github.com/janko/rodauth-rails - i believe he has also written another gem to make it easy to use sequel in a rails app https://github.com/janko/sequel-activerecord_connection
-
Sqlcomposer Early Preview Answering Questions
From a user's perspective, I've always found the fact that rom-sql uses Sequel under-the-hood as a big advantage. For someone who is familiar with Sequel it lowers the barrier of understanding how rom-sql works. And it's possible to leverage many of Sequel's useful features that rom-sql might not support OOTB (including performance optimizations such as sequel_pg), even if that requires dropping to the Sequel database level. When I announced sequel-activerecord_connection, one of the questions I received was whether that will work with rom-sql too (and it does).
What are some alternatives?
Devise - Flexible authentication solution for Rails with Warden.
PaperTrail - Track changes to your rails models
OmniAuth - OmniAuth is a flexible authentication system utilizing Rack middleware.
rodauth-rails - Rails integration for Rodauth authentication framework
OAuth2 - A Ruby wrapper for the OAuth 2.0 protocol.
rodauth-model - Password attribute and associations for Rodauth account model
JWT - A ruby implementation of the RFC 7519 OAuth JSON Web Token (JWT) standard.
rodauth-demo-rails - Rodauth's demo site ported to Rails, showing Rodauth/Rails integration
rodauth-demo-rails - Example Rails app that uses Rodauth for authentication
warden-github-rails - Use GitHub as authorization and more. Use organizations and teams as means of authorization by simply wrapping your rails routes in a block. Also useful to get a user's details through OAuth.
rodauth-oauth - (Mirror) Roda OAuth and OpenID provider plugin