Open-source Go projects categorized as JWT

JSON Web Token is a proposed Internet standard for creating data with optional signature and/or optional encryption whose payload holds JSON that asserts some number of claims. The claims in a JWT are encoded as a JSON object that is used as the payload of a JSON Web Signature (JWS) structure or as the plaintext of a JSON Web Encryption (JWE) structure, enabling the claims to be digitally signed or integrity protected with a Message Authentication Code (MAC) and/or encrypted.

Top 23 Go JWT Projects

  • gin-vue-admin


  • go-admin

    基于Gin + Vue + Element UI & Arco Design & Ant Design 的前后端分离权限管理系统脚手架(包含了:多租户的支持,基础用户管理功能,jwt鉴权,代码生成器,RBAC资源控制,表单构建,定时任务等)3分钟构建自己的中后台项目;项目文档》:https://www.go-admin.pro V2 Demo: https://vue2.go-admin.dev V3 Demo: https://vue3.go-admin.dev Antd 订阅版:https://antd.go-admin.pro (by go-admin-team)

  • 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
  • go-gin-example

    An example of gin

  • Project mention: Web application project structure | /r/golang | 2023-05-21

    you can have a look at https://github.com/eddycjy/go-gin-example you don't have to use gin as the framework rather than looking at how he structure the folders.

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

  • hanko

    Customer Identity and Access Management for the passkey era

  • Project mention: 🚀 Top 12 Open Source Auth Projects Every Developer Should Know 🔑 | dev.to | 2023-12-06


  • gotrue

    An SWT based API for managing users and issuing SWT tokens.

  • Project mention: Supabase Auth: Identity Linking, Hooks, and HaveIBeenPwned integration | dev.to | 2023-12-14

    If you’ve been following us from the start, you will know that Supabase Auth started by forking Netlify’s GoTrue server. A lot has changed since then and we’ve diverged from the upstream repository. At this stage it makes sense to rename the project to something else (cues drumroll) — Auth.

  • cli

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

  • Project mention: Google will disable all but OAuth for IMAP, SMTP and POP starting Sept. 30 | news.ycombinator.com | 2024-01-18

    https://github.com/smallstep/cli implements some OAuth flows from the CLI, it may be helpful for you.

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

    ⚡ HTTP/2 Apple Push Notification Service (APNs) push provider for Go — Send push notifications to iOS, tvOS, Safari and OSX apps, using the APNs HTTP/2 protocol.

  • vouch-proxy

    an SSO and OAuth / OIDC login solution for Nginx using the auth_request module

  • Project mention: I'm looking for an SSO server/reverse proxy with features I'm not sure exist | /r/selfhosted | 2023-06-23
  • golang-gin-realworld-example-app

    Exemplary real world application built with Golang + Gin

  • loginsrv

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

  • jwx

    Implementation of various JWx (Javascript Object Signing and Encryption/JOSE) technologies

  • Project mention: Are there any OIDC Provider libraries for Golang? | /r/golang | 2023-05-15

    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.

  • go-base

    Go RESTful API Boilerplate with JWT Authentication backed by PostgreSQL

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

    Easy to use OpenID Connect client and server library written for Go and certified by the OpenID Foundation

  • Project mention: Easy to use OpenID Connect client and server library written for Go | /r/hackernews | 2023-12-04
  • 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.

  • gin-boilerplate

    The fastest way to deploy a restful api's with Gin Framework with a structured project that defaults to PostgreSQL database and JWT authentication middleware stored in Redis

  • auth

    Authenticator via oauth2, direct, email and telegram (by go-pkgz)

  • Project mention: How to build Auth in 2023 with go? | /r/golang | 2023-05-31
  • paseto

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

  • f-license

    Open Source License Key Generation and Verification Tool written in Go

  • Project mention: A SaaS product for this software licensing project? | news.ycombinator.com | 2024-01-24
  • oauth2c

    User-friendly OAuth2 CLI

  • jwt

    Safe, simple and fast JSON Web Tokens for Go (by cristalhq)

  • jwtauth

    JWT authentication middleware for Go HTTP services

  • 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). The latest post mention was on 2024-04-17.

Go JWT related posts


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

Project Stars
1 gin-vue-admin 19,917
2 go-admin 10,742
3 go-gin-example 6,699
4 jwt 6,349
5 hanko 5,396
6 gotrue 3,699
7 cli 3,478
8 APNs2 2,929
9 vouch-proxy 2,630
10 golang-gin-realworld-example-app 2,440
11 loginsrv 1,909
12 jwx 1,783
13 go-base 1,421
14 caddy-security 1,224
15 oidc 1,176
16 auth 1,155
17 gin-boilerplate 1,000
18 auth 908
19 paseto 788
20 f-license 765
21 oauth2c 709
22 jwt 640
23 jwtauth 512
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives