qmetrics.net

Devise

Modular authentication engine for Ruby on Rails

Devise adds sign-in, registration, and related account flows to Rails apps through a Warden-backed engine. Teams enable only the authentication modules they need for each user model.

Overview

Devise is an authentication stack for Ruby on Rails applications. It builds on Rack and Warden, ships as a Rails engine, and supplies controllers, views, and model helpers so teams can add passwords, sessions, and account lifecycle steps without writing everything from scratch.

The design is modular: projects mix and match capabilities such as confirmable or lockable behavior per model, and several user types can stay signed in concurrently. Generators install routes, migrations, and initializer settings; controllers expose helpers to guard actions and read the current signed-in record.

Configuration covers password hashing cost, timeouts, mailer URL options, internationalized messages, and integration with background jobs for mail delivery. Optional OmniAuth hooks extend sign-in with external providers, and alternate ORMs besides Active Record are supported for teams on MongoDB-style stacks.

Because Devise is packaged as a gem, it embeds into each host application rather than running as a standalone service. Host apps remain responsible for deployment, HTTPS, and any API-only mode adjustments described in the project docs.

Key features

  • Rack and Warden integration
  • Pluggable authentication modules
  • Rails engine MVC stack
  • Multiple simultaneous user scopes
  • Generator-driven setup
  • Customizable views and controllers
  • OmniAuth provider support
  • Active Job mail delivery hooks

Use cases

  • User sign-up and login in Rails
  • Separate admin and member accounts
  • Email confirmation workflows
  • Password reset and lockout rules
  • Social login via OmniAuth

Tags

Similar software

Auth.js

Web authentication libraries for JavaScript frameworks

Auth.js (NextAuth) adds sign-in, sessions, and OAuth to modern JavaScript apps. Packages target Next.js, SvelteKit, Express, Qwik, and other runtimes.

  • OAuth 2.0 and OIDC providers
  • Email and passwordless sign-in
  • WebAuthn passkey support
TypeScriptDetails →
★ 28.4k⟳ 4 months agoISC
Open Source Alternative to:Amazon CognitoAuth0+4

Sa-Token

Java lightweight permission and session framework

Sa-Token adds login, permission checks, SSO, OAuth2, and microservice gateway auth to Java web projects with minimal boilerplate.

  • Login and permission annotations
  • Distributed session with Redis
  • Built-in SSO mode variants
JavaDetails →
★ 19.1k⟳ 16 days agoApache-2.0

jsonwebtoken

Node.js library for signing and verifying JSON Web Tokens

jsonwebtoken implements JWT creation and verification for Node.js using HMAC, RSA, ECDSA, and related algorithms. It exposes sign, verify, and decode helpers built on node-jws.

  • JWT sign and verify APIs
  • HMAC and asymmetric algorithms
  • Standard claim options
JavaScriptDetails →
★ 18.2k⟳ 5 months agoMIT

JustAuth

Java library for third-party OAuth login

JustAuth is a Java component that wires social and enterprise OAuth providers into applications without vendor-specific SDKs. It exposes a small API with builder-style configuration.

  • Dozens of built-in OAuth providers
  • Builder and plain API styles
  • Custom OAuth platform adapters
JavaDetails →
★ 17.6k⟳ 7 months agoMIT

laravel-permission

Laravel roles and permissions management package

A Laravel package that stores roles and permissions in your database and wires them to users, with helpers to assign capabilities and check access through Laravel's gate and Blade.

  • Database-backed roles and permissions
  • Assign permissions and roles to users
  • Permissions registered on Laravel gate
PHPDetails →
★ 13k⟳ 3 days agoMIT

CASL

Isomorphic TypeScript authorization for apps and APIs

CASL limits which resources a user may access using declarative rules shared across frontend, backend, and database layers.

  • Declarative ability rules
  • RBAC and ABAC support
  • Frontend and backend use
TypeScriptDetails →
★ 7.1k⟳ yesterdayMIT