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

  • Iris

    The fastest HTTP/2 Go Web Framework. New, modern and easy to learn. Fast development with Code you control. Unbeatable cost-performance ratio :leaves: :rocket: | 谢谢 | #Go

    Project mention: Iris VS Don - a user suggested alternative | libhunt.com/r/iris | 2023-03-15
  • gin-vue-admin


  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

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

  • jwt

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

    Project mention: Access token and Refresh token, approach with golang | dev.to | 2023-02-07

    Libraries used bcrypt: https://pkg.go.dev/golang.org/x/crypto/bcrypt golang-jwt: https://github.com/golang-jwt/jwt Gin (Http framework): https://github.com/gin-gonic/gin

  • gotrue

    An SWT based API for managing users and issuing SWT tokens

    Project mention: gotrxx VS gotrue - a user suggested alternative | libhunt.com/r/gotrxx | 2023-03-11

    I guess since it's a deviation of it

  • cli

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

    Project mention: Uacme: ACMEv2 client written in plain C with minimal dependencies | news.ycombinator.com | 2022-08-21
  • 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.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • golang-gin-realworld-example-app

    Exemplary real world application built with Golang + Gin

  • vouch-proxy

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

    Project mention: Solf-hosted login form for self-hosted app ? | reddit.com/r/selfhosted | 2023-02-20
  • 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: go-jwt parse without validation | reddit.com/r/golang | 2022-08-23

    Check this lib: https://github.com/lestrrat-go/jwx

  • go-base

    Go RESTful API Boilerplate with JWT Authentication backed by PostgreSQL

    Project mention: Go-RN StarterKit: Crafting the idea | dev.to | 2022-06-15

    Go RESTful API Boilerplate by dhax https://github.com/dhax/go-base

  • 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

  • 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: Authentication in Go? Best practices | reddit.com/r/golang | 2023-03-07
  • auth

    Authenticator via oauth2, direct, email and telegram

    Project mention: Simple web app, how to do auth? | reddit.com/r/golang | 2022-11-02

    the simplest sso library I found is https://github.com/go-pkgz/auth

  • paseto

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

  • f-license

    Open Source License Key Generation and Verification Tool written in Go

  • jwt

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

    Project mention: Fast & simple JWT for Go (v4.0.0 released) | reddit.com/r/golang | 2022-04-18

    There is a special type NumericDate (https://github.com/cristalhq/jwt/blob/main/numeric_date.go) to handle this, however if you have an example where it doesn't work with golang-jwt/jwt please share it, will be happy to add a test for this (or even a fix if something is wrong :( )

  • oidc

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

    Project mention: ZITADEL Golang OIDC Library Version 2.0 Release | reddit.com/r/foss | 2023-03-22
  • gotrue

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

    Project mention: How can I prompt a user for their password? | reddit.com/r/Supabase | 2023-03-06

    gotrue/pull#427 (cant get this one to work)

  • jwtauth

    JWT authentication middleware for Go HTTP services

    Project mention: What mux/router to use now a days? | reddit.com/r/golang | 2023-03-15

    It's difficult to assess their security response because it doesn't seem that they've had any CVEs. A different project by the go-chi maintainers, jwtauth, did have to address moving away from a vulnerable dependency, which took them almost 3 months to fix. So, not ideal - but jwtauth isn't as active or used anywhere near as much as chi itself, so doesn't necessarily reflect their responsiveness to a chi vulnerability.

  • fiber-boilerplate

    This is the go boilerplate on the top of fiber web framework. With simple setup you can use many features out of the box

  • tutorial-go-fiber-rest-api

    📖 Build a RESTful API on Go: Fiber, PostgreSQL, JWT and Swagger docs in isolated Docker containers.

  • SaaSHub

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

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 2023-03-22.

Go JWT related posts


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

Project Stars
1 Iris 23,763
2 gin-vue-admin 16,334
3 go-admin 8,715
4 jwt 4,320
5 gotrue 3,305
6 cli 2,930
7 APNs2 2,780
8 golang-gin-realworld-example-app 2,239
9 vouch-proxy 2,228
10 loginsrv 1,885
11 jwx 1,469
12 go-base 1,267
13 gin-boilerplate 875
14 caddy-security 786
15 auth 691
16 paseto 684
17 f-license 649
18 jwt 592
19 oidc 516
20 gotrue 471
21 jwtauth 436
22 fiber-boilerplate 270
23 tutorial-go-fiber-rest-api 240
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives