Open-source projects categorized as Oauth2 | Edit details

Top 23 Oauth2 Open-Source Projects

  • GitHub repo hackathon-starter

    A boilerplate for Node.js web applications

    Project mention: Rock Solid Express Application Architecture | dev.to | 2021-05-06

    One of these boilerplates is sahat/hackathon-starter with 30k+ stars on GitHub and a huge set of features to get you started with. But what I dislike about this boilerplate is the fact that it's too bloated for my needs. I mostly build APIs with Express and this boilerplate comes with a hefty view layer. I surely can cut that off but other parts of the boilerplate are also well suited for full-stack applications rather than REST APIs.

  • GitHub repo hydra

    OpenID Certified™ OpenID Connect and OAuth Provider written in Go - cloud native, security-first, open source API security for your infrastructure. SDKs for any language. Compatible with MITREid.

    Project mention: User account over Internet | reddit.com/r/linuxadmin | 2021-05-10

    If you just have some services/users at a remote location that you want to authenticate/authorize using your existing user directory, I’d recommend using OAuth2/OpenID Connect over https. This has the added benefit of enabling users to enroll multi-factor, federating with other identity providers (if you want), is more future proof (LDAP isn’t cloud native/friendly), and can be exposed to the Internet without the need of a VPN relatively safely. Another benefit is support for remote users and SaaS - for example, enabling users working from home to authenticate to SaaS applications using their directory login (without SSL/agent-VPNs or punching holes in firewall). Examples include: Okta(free tier permits 2000 monthly active users), Keycloak,Dex,ory.sh.

  • GitHub repo IdentityServer4

    OpenID Connect and OAuth 2.0 Framework for ASP.NET Core

    Project mention: What do you think ASP.NET Core is missing or could do better? | reddit.com/r/dotnet | 2021-05-11

    IS4 https://github.com/IdentityServer/IdentityServer4 has Apache2 license. There is no need for Microsoft to get involved here.

  • GitHub repo C++ REST SDK

    The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.

    Project mention: cpprestsdk in maintenance mode | reddit.com/r/cpp | 2021-06-08

    I was starting a project that needs to read data with rest API and I'd like to use cpprestsdk from Microsoft. But it's readme says that's in maintenance mode and it's not recommended for new projects... I'd like to know why it's in maintenance mode, and if it will be abandoned. Also, if there's some equivalent library for cpp, instead of creating the business logic from scratch, i.e. with boost::beast.

  • GitHub repo PHP OAuth 2.0 Server

    A spec compliant, secure by default PHP OAuth 2.0 Server

  • GitHub repo Doorkeeper

    Doorkeeper is an OAuth 2 provider for Ruby on Rails / Grape.

    Project mention: Authelia is an open-source authentication/authorization server with 2FA/SSO | news.ycombinator.com | 2021-03-10

    One thing that is missing from this list is open source language specific libraries. Projects such as https://oauthlib.readthedocs.io/en/latest/oauth2/server.html and https://github.com/doorkeeper-gem/doorkeeper

    Depending on your use case, for example if you only have one application, you might be better off running something embedded in your app, or independent but using the same runtime/deployment environment. Then, when you are ready to add another app or integration, you should be able to introduce a standalone auth system more easily if appropriate (because all your auth interactions should be relatively standardized). I'm a big fan of standalone auth systems as a way to simplify access control and give a single view of a user/customer, but you can also succeed using open source embedded libraries.

    When the moment comes to introduce a standalone system, you should consider a few dimensions (this list pulled from a previous comment of mine: https://news.ycombinator.com/item?id=26360048 ):

       * open source or not

  • GitHub repo oauth2

    Go OAuth2

    Project mention: Handling authentication in Transport - is it good or bad? | reddit.com/r/golang | 2021-02-03

    Handling auth in a Transport is a common pattern, that's what x/oauth2 does for example: https://github.com/golang/oauth2/blob/master/transport.go#L20

  • GitHub repo gmvault

    gmail backup software

    Project mention: Gmvault | reddit.com/r/docker | 2021-05-31

    Link to original workaround: https://github.com/gaubert/gmvault/issues/335#issuecomment-475437988

  • GitHub repo Grant

    OAuth Proxy

  • GitHub repo OAuth 2.0 Client

    Easy integration with OAuth 2.0 service providers.

  • GitHub repo OAuthSwift

    Swift based OAuth library for iOS

    Project mention: Any good tutorials for working with OAuth2? | reddit.com/r/iOSProgramming | 2021-04-10

    https://www.raywenderlich.com/243-oauth-2-0-with-swift-tutorial and subsequently OAuthSwift Im still pretty lost on all of this. Do I really need to use a proxy if I can save the app token to the keychain?

  • GitHub repo timeliner

    All your digital life on a single timeline, stored locally

    Project mention: What is the equivalent of "Apple removed 3.5mm jack" of your favorite products ? | reddit.com/r/AskReddit | 2021-01-21

    I made Timeliner to download my Google Photos: https://github.com/mholt/timeliner -- requires some tech prowess for now, though.

  • GitHub repo authlib

    The ultimate Python library in building OAuth, OpenID Connect clients and servers. JWS,JWE,JWK,JWA,JWT included.

  • GitHub repo GAM

    command line management for Google Workspace

    Project mention: Is there a way to export to a sheet the names and members of all e-mail groups? | reddit.com/r/gsuite | 2021-06-07

    I think that would be a GAM trick.

  • GitHub repo SuperTokens Community

    Open source alternative to Auth0 / Firebase Auth / AWS Cognito

    Project mention: Stateless alternative to Keycloak? | reddit.com/r/selfhosted | 2021-05-09

    Checkout supertokens.io. You can deploy as many instances of the server as you'd like, and they all communicate with one database. There is no state maintained in any of those instances, so even if they restart, it won't matter much.

  • GitHub repo django-oauth-toolkit

    OAuth2 goodies for the Djangonauts!

    Project mention: Authentication with Django REST Framework | dev.to | 2021-02-25

    Thankfully you don't need to implement this giant standard yourself. You can use the excellent Django OAuth Toolkit package. They also have a specific section in their documentation for using it with DRF.

  • GitHub repo google-signin

    Google Sign-in for your React Native applications

    Project mention: Releasing my Free Open Source Anti-Procrastination app made in React Native & Firebase (⚛ + 🔥) | dev.to | 2021-06-06

    Google Sign In

  • GitHub repo OAuthLib

    A generic, spec-compliant, thorough implementation of the OAuth request-signing logic

  • GitHub repo openiddict-core

    Versatile OpenID Connect stack for ASP.NET Core 2.1/3.1/5.0 and Microsoft.Owin 4.1 (compatible with ASP.NET 4.6.1)

    Project mention: Is there a quicker way of setting up auth for apps and SPAs in .NET Core? | reddit.com/r/dotnet | 2021-05-28

    Check out OpenIddict, it has some good examples to get started pretty easily.

  • GitHub repo loginsrv

    JWT login microservice with plugable backends such as OAuth2, Google, Github, htpasswd, osiam, ..

  • GitHub repo go-oauth2-server

    A standalone, specification-compliant, OAuth2 server written in Golang.

  • GitHub repo AppAuth-Android

    Android client SDK for communicating with OAuth 2.0 and OpenID Connect providers.

    Project mention: Authentication in ASP.NET Core API without using third party solutions | reddit.com/r/dotnet | 2021-04-30
  • GitHub repo node-oidc-provider

    OpenID Certified™ OAuth 2.0 Authorization Server implementation for Node.js

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-06-08.


What are some of the best open-source Oauth2 projects? This list will help you:

Project Stars
1 hackathon-starter 31,928
2 hydra 11,050
3 IdentityServer4 8,001
4 C++ REST SDK 6,304
5 PHP OAuth 2.0 Server 5,868
6 Doorkeeper 4,826
7 oauth2 3,677
8 gmvault 3,369
9 Grant 3,348
10 OAuth 2.0 Client 3,080
11 OAuthSwift 2,873
12 timeliner 2,789
13 authlib 2,550
14 GAM 2,383
15 SuperTokens Community 2,343
16 django-oauth-toolkit 2,309
17 google-signin 2,238
18 OAuthLib 2,225
19 openiddict-core 1,887
20 loginsrv 1,788
21 go-oauth2-server 1,765
22 AppAuth-Android 1,749
23 node-oidc-provider 1,714
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives