| What it is | Minimal authorization through OO design and pure Ruby classes | The authorization Gem for Ruby on Rails | Headless, cloud-native identity: authentication, OAuth2/OIDC and permissions | An authorization library that supports access control models like ACL, RBAC, ABAC |
| Ways to run it | — | — | - Ory Network: Developer free (development only); Production $770/year; Growth $9,350/year; Enterprise custom
- Ory open source (self-hosted, Apache-2.0): free
You arrange: PostgreSQL, MySQL or CockroachDB (SQLite is for development only), an SMTP server for verification and recovery emails, your own login, registration and settings pages, TLS and a reverse proxy, keeping the admin API off the internet, secrets, upgrades and backups - Ory Enterprise License (self-hosted, proprietary): price not published
You arrange: the same database, email and infrastructure as the open source edition
| — |
| Features | - policy classes per model
- policy scopes
- authorize and policy_scope helpers
- verify_authorized and verify_policy_scoped checks
- generators
| - can and cannot rules in Ability classes, split across files if needed
- can? and cannot? checks in controllers and views
- authorize! raising CanCan::AccessDenied
- accessible_by to fetch authorized records with SQL, with selectable SQL strategies
- load_and_authorize_resource for RESTful and nested resources
- hash conditions, block conditions and scopes
- permitted_attributes and disallowed_attributes
- action aliases and rules compression
- All 11 features
| - Kratos identity and flows
- Hydra OAuth2/OIDC
- Keto permissions
- Oathkeeper proxy
- MFA and passkeys
- social sign-in
- official SDKs in TypeScript, Go, Python, Java, PHP, Dart, Ruby, C# and Rust for Identities, Permissions and OAuth2
| - ACL, RBAC and ABAC models
- models as CONF files on the PERM metamodel
- implementations in Go, Java, Node.js, front-end JavaScript, Python, PHP, .NET, Rust, C++, Ruby, Swift, Lua, Dart, Elixir and Delphi
- same API and behaviour across implementations
- policy adapters for files, MySQL, Postgres, Oracle, MongoDB, Redis, Cassandra and S3
- filtered policy loading for multi-tenant systems
- role managers backed by LDAP, Okta, Auth0 or Azure AD
- integrations for Kubernetes, Istio, Envoy, OpenResty, Kong and APISIX
|