Go Auth

Open-source Go projects categorized as Auth

Top 22 Go Auth Projects

  • casbin

    An authorization library that supports access control models like ACL, RBAC, ABAC in Golang: https://discord.gg/S5UjpzGZjN

  • Project mention: A guide to Auth & Access Control in web apps 🔐 | dev.to | 2023-11-07

    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.

  • jwt

    Community maintained clone of https://github.com/dgrijalva/jwt-go (by golang-jwt)

  • Project mention: Implementing JWT Authentication in a Golang Application | dev.to | 2024-01-30

    To add JWT authentication to our ToDo application, we'll be using the Golang-jwt library. The golang-jwt package simplifies the implementation of JWTs in Go applications, offering a suite of convenient functions that abstract away the complexities associated with token creation, verification, and management.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • hanko

    Customer Identity and Access Management for the passkey era

  • Project mention: Ask HN: Simple Auth for Website | news.ycombinator.com | 2024-04-23

    I get what you are trying to do, but it feels a bit insecure. Why not use an OSS passwordless project like https://github.com/supertokens/supertokens-core/ or https://github.com/teamhanko/hanko

  • fosite

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

  • Project mention: Golang library for AuthN/AuthZ | /r/golang | 2023-06-06

    You can take a look to https://github.com/ory/fosite

  • aws-iam-authenticator

    A tool to use AWS IAM credentials to authenticate to a Kubernetes cluster

  • Project mention: A Step-by-Step Guide to Easily Deploying EKS Infrastructure and Applications Using Terraform | dev.to | 2024-02-04

    curl -Lo aws-iam-authenticator https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/download/v0.5.9/aws-iam-authenticator_0.5.9_linux_amd64 chmod +x ./aws-iam-authenticator mkdir -p $HOME/bin && cp ./aws-iam-authenticator $HOME/bin/aws-iam-authenticator && export PATH=$PATH:$HOME/bin echo 'export PATH=$PATH:$HOME/bin' >> ~/.bashrc

  • authorizer

    Your data, your control. Fully open source, authentication and authorization. No lock-ins. Deployment in Railway in 120 seconds || Spin a docker image as a micro-service in your infra. Built in login page and Admin panel out of the box.

  • Project mention: Authorizer, an open source authentication and authorization solution | news.ycombinator.com | 2023-09-12
  • caddy-security

    🔐 Authentication, Authorization, and Accounting (AAA) App and Plugin for Caddy v2. 💎 Implements Form-Based, Basic, Local, LDAP, OpenID Connect, OAuth 2.0 (Github, Google, Facebook, Okta, etc.), SAML Authentication. MFA/2FA with App Authenticators and Yubico. 💎 Authorization with JWT/PASETO tokens. 🔐

  • Project mention: Caddy-Security: Security App and Plugin for Caddy | news.ycombinator.com | 2024-03-17
  • 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.

    InfluxDB logo
  • auth

    A JWT based API for managing users and issuing JWT tokens (by supabase)

  • Project mention: Supabase Auth now supports Anonymous Sign-ins | dev.to | 2024-04-17

    Supabase Auth now supports anonymous sign-ins, one of our most-requested features by the community.

  • paseto

    Platform-Agnostic Security Tokens implementation in GO (Golang) (by o1egl)

  • restish

    Restish is a CLI for interacting with REST-ish HTTP APIs with some nice features built-in

  • Project mention: Looking for Open-source web app back-end repository written in Golang | /r/golang | 2023-12-08

    Project using APIBin for examples https://rest.sh

  • go-guardian

    Go-Guardian is a golang library that provides a simple, clean, and idiomatic way to create powerful modern API and web authentication.

  • mosquitto-go-auth

    Auth plugin for mosquitto.

  • Project mention: Securing MQTT: A Guide to Basic Authentication | dev.to | 2023-10-02

    Check auth plugin for more complex use cases.

  • casbin-server

    Casbin as a Service (CaaS)

  • intents-operator

    Manage network policies, AWS, GCP & Azure IAM policies, Istio Authorization Policies, and Kafka ACLs in a Kubernetes cluster with ease.

  • Project mention: Otterize launches open-source, declarative IAM permissions for workloads on AWS EKS clusters | dev.to | 2024-01-10

    No more! The open-source intents-operator and credentials-operator enable you to achieve the same, except without all that work: do it all from Kubernetes, declaratively, and just-in-time, through the magic of IBAC (intent-based access control).

  • authz

    🛡️ Authorization backend that comes with a UI for RBAC and ABAC permissions

  • Coze

    Coze is a cryptographic JSON messaging specification.

  • Project mention: JSON Web Proofs | news.ycombinator.com | 2023-12-02

    https://cyphr.me/coze#?input={%22pay%22:{%22msg%22:%22Hello,...

  • auth-server

    Simple authentication and authorization service

  • json-adapter

    JSON adapter for Casbin

  • Project mention: Cerbos v0.27 released! Do not reinvent user permissions | /r/golang | 2023-06-08

    Functionality wise, looks similar to https://github.com/Permify/permify and https://github.com/casbin/casbin. Nice addition to the authz list !!

  • fiber-jwt

    JWT for fiber

  • chi-authz

    Chi Authorization Middleware based on Casbin

  • authi

    An simple JWT Authentication service written in golang

  • fiber-custom-jwt

    A customize JWT strategy for golang using fiber

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

Go Auth related posts

Index

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

Project Stars
1 casbin 16,818
2 jwt 6,383
3 hanko 5,396
4 fosite 2,249
5 aws-iam-authenticator 2,137
6 authorizer 1,378
7 caddy-security 1,224
8 auth 1,155
9 paseto 788
10 restish 640
11 go-guardian 526
12 mosquitto-go-auth 482
13 casbin-server 296
14 intents-operator 277
15 authz 227
16 Coze 103
17 auth-server 69
18 json-adapter 16
19 fiber-jwt 9
20 chi-authz 1
21 authi 1
22 fiber-custom-jwt 0

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com