#OAuth

Open-source projects categorized as OAuth | Edit details

Top 23 OAuth Open-Source Projects

  • 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 next-auth

    Authentication for Next.js

    Project mention: SaaS Project Update 3 - Adding Authentication to my Next.js/Prisma/Postgres Project | dev.to | 2021-06-08

    https://next-auth.js.org/errors#oauth_callback_handler_error Error: Invalid `prisma.account.findUnique()` invocation: { where: { providerId_providerAccountId: { providerId: 'github', providerAccountId: 18769232 ~~~~~~~~ } }, select: { user: true } Argument providerAccountId: Got invalid value 18769232 on prisma.findUniqueAccount. Provided Int, expected String.

  • GitHub repo django-allauth

    Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication.

    Project mention: Django all-auth with no registration? | reddit.com/r/django | 2021-05-19

    I have this all working fine, however when I use the @ auth_required decorator on my other pages, it redirects to /accounts/login and it renders the default login.html "https://github.com/pennersr/django-allauth/blob/353386216b79f16709e97bb487c0bbbba2bc0c71/allauth/templates/account/login.html"

  • 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 tailscale

    The easiest, most secure way to use WireGuard and 2FA.

    Project mention: Taildrop Was Kind of Easy | news.ycombinator.com | 2021-06-13

    > Tailscale does not do ipv6

    Tailscale does! https://github.com/tailscale/tailscale/issues/19

    $ ip addr show dev tailscale0

  • GitHub repo Grant

    OAuth Proxy

  • GitHub repo nodejs-api-starter

    💥 Yarn v2 based monorepo template (seed project) pre-configured with GraphQL API, PostgreSQL, React, Relay, and Material UI.

    Project mention: Preparing a project, and a tehnologies stack | reddit.com/r/node | 2021-05-31

    (1) React + API monorepo VS (2) React + API as separate repositories

  • GitHub repo Devise Token Auth

    Token based authentication for Rails JSON APIs. Designed to work with jToker and ng-token-auth.

    Project mention: Devise, The Swiss Army Knife of Rails User Authentication. | dev.to | 2021-02-04

    As a side note, also check out devise_token_auth here

  • GitHub repo python-oauth2

    A fully tested, abstract interface to creating OAuth clients and servers.

  • 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 python-social-auth

    Social auth made simple

  • GitHub repo sso

    sso, aka S.S.Octopus, aka octoboi, is a single sign-on solution for securing internal services

    Project mention: Web proxy (Bastion ?) to access Website in "private" network. | reddit.com/r/selfhosted | 2021-05-20

    https://github.com/buzzfeed/sso - Google only

  • GitHub repo authlib

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

  • GitHub repo PRAW

    PRAW, an acronym for "Python Reddit API Wrapper", is a python package that allows for simple access to Reddit's API.

    Project mention: PRAW documentation | reddit.com/r/api_tests_for_all | 2021-06-16
  • 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 OAuthLib

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

  • GitHub repo OAuth2

    A Ruby wrapper for the OAuth 2.0 protocol. (by oauth-xx)

    Project mention: Facebook Omniauth for SSO | reddit.com/r/rails | 2021-06-14

    Here's the gem I used. gem 'oauth2'

  • GitHub repo pac4j

    Security engine for Java (authentication, authorization, multi frameworks): OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...

  • GitHub repo cli

    🧰 A zero trust swiss army knife for working with X509, OAuth, JWT, OATH OTP, etc. (by smallstep)

    Project mention: Recommend: Linux-Equivalent Tool of mkcert | reddit.com/r/voidlinux | 2021-03-25

    https://github.com/smallstep/cli may be a bit overkill for your needs, but it's an epic toolkit and well worth checking out!

  • GitHub repo fosite

    Extensible security first OAuth 2.0 and OpenID Connect SDK for Go.

    Project mention: Ory Hydra: Open Source OAuth2/OIDC Provider | reddit.com/r/golang | 2021-01-13

    We are using https://github.com/ory/fosite at work with great success.

  • GitHub repo rauth

    A Python library for OAuth 1.0/a, 2.0, and Ofly.

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-16.

Index

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

Project Stars
1 hydra 11,050
2 next-auth 6,630
3 django-allauth 6,509
4 C++ REST SDK 6,304
5 PHP OAuth 2.0 Server 5,868
6 Doorkeeper 4,826
7 tailscale 4,354
8 Grant 3,348
9 nodejs-api-starter 3,219
10 Devise Token Auth 3,171
11 python-oauth2 2,936
12 OAuthSwift 2,873
13 python-social-auth 2,801
14 sso 2,613
15 authlib 2,550
16 PRAW 2,520
17 django-oauth-toolkit 2,309
18 OAuthLib 2,225
19 OAuth2 2,018
20 pac4j 2,014
21 cli 1,793
22 fosite 1,624
23 rauth 1,576