Go JWT

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

  1. gin-vue-admin

    🚀Vite+Vue3+Gin拥有AI辅助的基础开发平台,支持TS和JS混用。它集成了JWT鉴权、权限管理、动态路由、显隐可控组件、分页封装、多点登录拦截、资源权限、上传下载、代码生成器、表单生成器和可配置的导入导出等开发必备功能。

  2. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  3. 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 PRO:https://antd.go-admin.pro (by go-admin-team)

  4. jwt

    Go implementation of JSON Web Tokens (JWT). (by golang-jwt)

    Project mention: Securing Your Go API with JWT Authentication | dev.to | 2024-10-02

    Check out their MIGRATION_GUIDE.md if you're still using the old package.

  5. hanko

    The Complete Authentication and User Management Solution for the Passkey Era. Open Source Alternative to Clerk, Auth0, et al.

    Project mention: My Journey with the OSS.GG Hackathon: A Fulfilling Open Source Experience | dev.to | 2024-10-28

    Participating in the OSS.GG hackathon has been an exciting and enriching experience. Engaging with projects from multiple partners like Dub, Formbricks, Hanko, OpenBB, Papermark, Twenty, and Unkey offered me the opportunity to explore the vast landscape of open source. Through this hackathon, I didn’t just contribute to code; I also got hands-on experience in non-code contributions, which opened up new avenues for collaboration and learning.

  6. go-gin-example

    An example of gin

  7. gotrue

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

    Project mention: Gallerify - A Fullstack Image Sharing Application Built On Netlify Primitives | dev.to | 2024-05-12

    Netlify provides Netlify Identify in order to sign up, login, reset password, verify and confirm users. In order to use Identity you can either use the Netlify Identity Widget or GoTrue(https://github.com/netlify/gotrue) JavaScript plugin for custom configurations.

  8. cli

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

    Project mention: Setting up a trusted, self-signed SSL/TLS certificate authority in Linux | news.ycombinator.com | 2025-02-17

    I previously used openssl-based scripts to generate certificates to use for local development or applications on a private network. I have since moved to using the step CLI [1].

    OpenSSL is powerful, but it's hard to figure out how to use correctly. Each command seems cryptic no matter how many times I use it.

    The step CLI is a lot simpler, even though it has a few quirks: generating PKCS1 formatted private keys instead of the newer PKCS7 format, making every leaf certificate eligible to be either a server certificate or a client certificate, and absurdly low default certificate expirations.

    1: https://github.com/smallstep/cli

  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  10. 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.

  11. vouch-proxy

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

    Project mention: Caddy – The Ultimate Server with Automatic HTTPS | news.ycombinator.com | 2025-02-16

    With nginx I'm assuming you would use something like Vouch or oauth2-proxy? Something like the architecture described here:

    https://github.com/vouch/vouch-proxy?tab=readme-ov-file#what...

    Can't speak for caddy-security, but the forward_auth feature is the caddy equivalent to nginx's auth_request

  12. golang-gin-realworld-example-app

    Exemplary real world application built with Golang + Gin

  13. jwx

    Complete implementation of JWx (Javascript Object Signing and Encryption/JOSE) technologies for Go. #golang #jwt #jws #jwk #jwe

  14. loginsrv

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

  15. auth

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

    Project mention: Launch HN: Stack Auth (YC S24) – An Open-Source Auth0/Clerk Alternative | news.ycombinator.com | 2024-08-08

    This is great. Competition is definitely needed in the Authentication/Authorization space.

    Quick question. How would this compare to supabase/gotrue [0] and permify [1]?

    [0]: https://github.com/supabase/auth

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

  17. go-base

    Go RESTful API Boilerplate with JWT Authentication backed by PostgreSQL

  18. oidc

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

  19. auth

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

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

  21. paseto

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

  22. f-license

    Open Source License Key Generation and Verification Tool written in Go

  23. oauth2c

    User-friendly OAuth2 CLI

  24. jwt

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

  25. microservices-go

    Golang Microservice Boilerplate using MySQL, Docker and Swagger, API REST. Gin Go and GORM with pagination and implementation of a Clean Architecture.

  26. 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 JWT discussion

Log in or Post with

Go JWT related posts

  • Securing Your Go API with JWT Authentication

    1 project | dev.to | 2 Oct 2024
  • Should I Use jwts For Authentication Tokens?

    7 projects | news.ycombinator.com | 27 May 2024
  • Gallerify - A Fullstack Image Sharing Application Built On Netlify Primitives

    3 projects | dev.to | 12 May 2024
  • JWT, JWS, JWE and how to cook them

    3 projects | dev.to | 28 Mar 2024
  • Caddy-Security: Security App and Plugin for Caddy

    1 project | news.ycombinator.com | 17 Mar 2024
  • Security flaws in an SSO plugin for Caddy

    1 project | news.ycombinator.com | 12 Feb 2024
  • Implementing JWT Authentication in a Golang Application

    5 projects | dev.to | 30 Jan 2024
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 22 Apr 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Index

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

# Project Stars
1 gin-vue-admin 22,689
2 go-admin 11,903
3 jwt 7,917
4 hanko 7,869
5 go-gin-example 6,988
6 gotrue 4,031
7 cli 3,842
8 APNs2 3,071
9 vouch-proxy 3,047
10 golang-gin-realworld-example-app 2,563
11 jwx 2,056
12 loginsrv 1,924
13 auth 1,837
14 caddy-security 1,712
15 go-base 1,572
16 oidc 1,539
17 auth 1,181
18 gin-boilerplate 1,106
19 paseto 874
20 f-license 804
21 oauth2c 803
22 jwt 678
23 microservices-go 607

Sponsored
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com

Did you know that Go is
the 4th most popular programming language
based on number of references?