Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 23 Authentication and OAuth Open-Source Projects
-
casbin
An authorization library that supports access control models like ACL, RBAC, ABAC in Golang: https://discord.gg/S5UjpzGZjN
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
aws-doc-sdk-examples
Welcome to the AWS Code Examples Repository. This repo contains code examples used in the AWS documentation, AWS SDK Developer Guides, and more. For more information, see the Readme.md file below.
-
goth
Package goth provides a simple, clean, and idiomatic way to write authentication packages for Go web applications.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Ory Keto
Open Source (Go) implementation of "Zanzibar: Google's Consistent, Global Authorization System". Ships gRPC, REST APIs, newSQL, and an easy and granular permission language. Supports ACL, RBAC, and other access models.
-
Devise Token Auth
Token based authentication for Rails JSON APIs. Designed to work with jToker and ng-token-auth.
-
loginsrv
JWT login microservice with plugable backends such as OAuth2, Google, Github, htpasswd, osiam, ..
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Users can signup and login via the Devise gem and create their organizations.
https://casbin.org/ (multiple approaches, multiple languages, provider) Open source authZ library that has support for many access control models (ACL, RBAC, ABAC, …) and many languages (Go, Java, Node.js, JS, Rust, …). While somewhat complex, it is also powerful and flexible. They also have their Casdoor platform, which is authN and authZ provider.
So I did some more research and I found the awsdocs/aws-doc-sdk-examples repo. This repository used a testtools module. So I started an experiment to see how I could use this module. I refactored the code as followed:
Project mention: What is the best way to implement social logins in an API-only Rails app? | /r/rails | 2023-10-24I've seen the Omniauth gem. But based on this gist it seems this gem is more suitable for web apps. Here is the quote from that gist.
Also really easy to implement as there are libraries that do all the heavy lifting for you (https://github.com/markbates/goth is a great starting place IMHO)
Project mention: Show HN: Blueprint for a distributed multi-region IAM with Go and CockroachDB | news.ycombinator.com | 2023-08-08One of Ory’s core competencies is permissions. We built the first Google Zanzibar implementation in the world and it’s part of Ory Network‘s global multi-region platform (https://github.com/ory/keto)
A push model is also valid if you’re heavy on policies and can accept eventual consistency. We will investigate how to generally push things to the edge (like we did with Ory Edge Sessions) or to cryptographic verification wherever staleness is acceptable.
By solving the primitives correctly in the beginning (with a multi region architecture) that job does become a lot easier, which is what we decided doing at Ory :)
is authboss here the best option or there is a better one?
To authenticate our users, we need to add jwt gem to our Gemfile
Devise is build on top of another library and if you ever had to customize Devise, you probably saw that underlying lib. It is called Warden
Project mention: Authentication system using Golang and Sveltekit - Login and Logout | dev.to | 2023-06-04Although there are pretty good session managers in the Go ecosystem such as alexedwards/scs, golangcollege/session and gorilla/sessions, we won't use any but using this great guide, we'll write our own. This is to keep our project's dependence on external packages at the barest minimum.
I made a custom OIDC provider for integ tests using https://github.com/lestrrat-go/jwx, and a server than served out a .well-known/openid-configuration file and a jwks.json referenced by the openid-configuration.
Project mention: gologin VS lalicat - a user suggested alternative | libhunt.com/r/gologin | 2023-05-10
There is no Hanami specific authentication library. Rails has a plethora of solutions, but nothing was created for Hanami (at least for the current version). There are framework agnostic tools though. OAuth solutions are like that, JWT, libraries like Rodauth. The last one is particularly interesting for Hanami since it is very much in the same "spirit" in terms of design and it is also the most advanced solution on the ruby market.
I have been using devise for a while and it has consistently given me issues. I have wistfully been staring at sorcery for a while now but cant justify the switch since devise is already in the project.
Authentication and OAuth related posts
-
Warden of Hanami - hanami.rb basic authentication
-
Ruby on Rails: Native route constraint for authentication
-
Heroku Build Failure: error:0308010C:digital envelope routines::unsupported
-
What is the best way to implement social logins in an API-only Rails app?
-
Using Action Policy for a Ruby on Rails App: The Basics
-
An Introduction to LiteStack for Ruby on Rails
-
Generate a pre-built authentication system into a rails application
-
A note from our sponsor - InfluxDB
www.influxdata.com | 9 May 2024
Index
What are some of the best open-source Authentication and OAuth projects? This list will help you:
Project | Stars | |
---|---|---|
1 | Devise | 23,735 |
2 | casbin | 16,920 |
3 | aws-doc-sdk-examples | 8,976 |
4 | OmniAuth | 7,841 |
5 | Doorkeeper | 5,254 |
6 | oauth2 | 5,156 |
7 | goth | 5,022 |
8 | Ory Keto | 4,627 |
9 | Authlogic | 4,331 |
10 | authboss | 3,699 |
11 | Clearance | 3,672 |
12 | JWT | 3,556 |
13 | Devise Token Auth | 3,507 |
14 | warden | 2,456 |
15 | OAuth2 | 2,114 |
16 | go-oauth2-server | 2,097 |
17 | scs | 1,966 |
18 | loginsrv | 1,909 |
19 | jwx | 1,792 |
20 | gologin | 1,765 |
21 | Rodauth | 1,623 |
22 | gorbac | 1,558 |
23 | Sorcery | 1,413 |
Sponsored