Open-source Go projects categorized as JWT | Edit details

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的前后端分离权限管理系统脚手架(包含了:多租户的支持,基础用户管理功能,jwt鉴权,代码生成器,RBAC资源控制,表单构建,定时任务等)3分钟构建自己的中后台项目;文档:https://doc.go-admin.dev Demo: https://www.go-admin.dev Antd beta版本:https://preview.go-admin.dev (by go-admin-team)

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

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

  • gotrue

    An SWT based API for managing users and issuing SWT tokens

    Project mention: Manage and Authenticate Users with Netlify Identity | dev.to | 2022-01-02

    Leveraging the open-source GoTrue API, Netlify Identity can be added to your site with the Netlify Identity widget by adding this

  • cli

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

    Project mention: Should you use Let's Encrypt for internal hostnames? | news.ycombinator.com | 2022-01-05

    I'm biased because I'm the founder of the company, but you should check out the certificate management toolchain (CA[1] and CLI[2]) we've built at smallstep. A big focus of the project is human-friendliness. It's not perfect (yet) but I think we've made some good progress.

    We also have a hosted option[3] with a free tier that should work for individuals, homelabs, pre-production, and even small production environments. We've started building out a management UI there, and it does map to the CLI as you've described :).

    [1] https://github.com/smallstep/certificates

    [2] https://github.com/smallstep/cli

    [3] https://smallstep.com/certificate-manager/

  • loginsrv

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

  • golang-gin-realworld-example-app

    Exemplary real world application built with Golang + Gin

    Project mention: Can someone recommend me a Golang complete repo | reddit.com/r/golang | 2021-06-14
  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • jwt

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

    Project mention: what is the best practice around updating indirect go modules required by other indirect go modules | reddit.com/r/golang | 2021-11-28
  • vouch-proxy

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

    Project mention: Why I'm Using HTTP Basic Auth in 2022 | news.ycombinator.com | 2022-01-01

    thank you! this gave me an idea to look for something similar for nginx ... https://github.com/vouch/vouch-proxy

    lots of my issues on authentication for various apps can perhaps be handled now!

  • jwx

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

    Project mention: Can I use `context.Background()` in production? | reddit.com/r/golang | 2021-03-02

    Can I, similar to this code snippet, use context.Background() but in production code:

  • 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

    Project mention: Building microservices in Go with Gin | dev.to | 2022-01-27

    Gin starter project with a CRUD API and SQL connection: gin-boilerplate

  • paseto

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

    Project mention: Am I doing authorization correctly? I'm doing http-only cookie-based auth and to get the current user I call an API route that reads the cookie and returns the info | reddit.com/r/golang | 2021-08-15

    Check out paseto tokens

  • f-license

    Open Source License Key Generation and Verification Tool written in Go

    Project mention: Show HN: Add license key verification to your software | news.ycombinator.com | 2021-10-07
  • jwtauth

    JWT authentication middleware for Go HTTP services

    Project mention: Navidrome Version 0.43.0 | reddit.com/r/navidrome | 2021-05-24

    This release has a good deal of security improvements, with more to come in the next release. Also some very nice features implemented by our contributors. Thanks to [you all](https://github.com/navidrome/navidrome/graphs/contributors?from=2021-04-26&to=2021-05-24&type=c)! ## Highlights - [UI] Option to toggle fields in songs, albums & artists grids (#923). Thanks @aldrinjenson - [UI] Allow regular users to change their info, including passwords (#199) - [UI] Displays BPM info (#1087). Thanks @brianschrameck - [UI] Add Czech, Slovenian and Swedish translations. Thanks @plr20, @jernejml and @deeeeeebs respectively - [UI] Restart current song when clicking "Previous song" in its first seconds (#1104). Thanks @aniketbiswas21 - [UI] Show error message when adding duplicated username, and other user management improvements (#1101). Thanks @srichter - [Server] Never send passwords to the UI - [Server] Implement PermissionsPolicy security header (#1112). Thanks @Dnouv - [Server] Move away from unmaintained JWT library (see https://github.com/go-chi/jwtauth/issues/50) - [Server] Add `EnableLogRedacting` to mask sensitive info in logs. Enabled by default - [Server] Make server compilable on OmniOS/illumos (#1048) Thanks @whorfin - [Scanner] Various reliability and speed improvements (#1054) Thanks @whorfin - [Scanner] Add new `ScanSchedule` that replaces `ScanInterval` and allow [cron-like](https://en.wikipedia.org/wiki/Cron) schedules - [Subsonic API] Fix Bookmarks Subsonic support (#1099) Downloads are available in GitHub: https://github.com/navidrome/navidrome/releases/tag/v0.43.0

  • zitadel

    ZITADEL - Identity Experience Platform

    Project mention: Event-driven architecture resources | reddit.com/r/golang | 2021-08-21

    And a bigger project i know is zitadel (https://github.com/caos/zitadel)

  • jwt

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

    Project mention: JWT authentication | dev.to | 2021-06-24

    Authentication is one of the most important part of almost every web application. We must ensure that every user can create, read, update and delete only data for which it's authorized. For that purpose we will use JWT (JSON Web Token). Fortunately, there are various Golang modules specialized for this. One that will be used in this guide can be found in this GitHub repo. Current latest version is v3 which can ne installed by running go get github.com/cristalhq/jwt/v3.

  • auth

    Authenticator via oauth2 (by go-pkgz)

  • gotrue

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

    Project mention: Does supabase plan to support LinkedIn auth? | reddit.com/r/Supabase | 2022-01-15

    It has support. https://github.com/supabase/gotrue/blob/master/api/provider/linkedin.go

  • branca

    :key: Secure alternative to JWT. Authenticated Encrypted API Tokens for Go.

    Project mention: SAML is insecure by design | reddit.com/r/programming | 2021-08-06

    Better alternatives would be PASETO or Branca.

  • tutorial-go-fiber-rest-api

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

    Project mention: Build a RESTful API on Go: Fiber, PostgreSQL, JWT in Isolated Docker Containers | news.ycombinator.com | 2021-03-22
  • hasura_gotrue

    This is a slightly extended version of Netlify's GoTrue. It includes a `docker-compose.yaml` file to deploy it together with Hasura. This set up uses two databases, PostgreSQL for Hasura and MariaDB for GoTrue. Have fun!

    Project mention: Self Hosted Hasura + GoTrue = ❤️ | dev.to | 2021-02-19
  • ecommerce

    A fully functional Ecommerce API in GO GIN Framework and mongoDB with JWT Authentication (by 5olitude)

    Project mention: Gin framework with mongodb | reddit.com/r/golang | 2021-10-10

    Hello Gophers , I'm a new member here . I just created a fully functional rest API for ecommerce model with Gin framework and Mongodb . I'm really new in programming . It will be helpful to get some feedbacks and corrections in my programming logic from my fellow Gophers such that I can further improve my coding skills and code optimization.This repo Git Repo will be really helpful to another individuals who are looking forward to work in Gin framework and Mongodb .

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 2022-01-27.

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 11,209
2 go-admin 5,661
3 APNs2 2,585
4 gotrue 2,560
5 cli 2,211
6 loginsrv 1,841
7 golang-gin-realworld-example-app 1,811
8 jwt 1,768
9 vouch-proxy 1,707
10 jwx 958
11 gin-boilerplate 670
12 paseto 571
13 f-license 570
14 jwtauth 361
15 zitadel 327
16 jwt 315
17 auth 200
18 gotrue 159
19 branca 159
20 tutorial-go-fiber-rest-api 142
21 simple-jwt-provider 21
22 hasura_gotrue 16
23 ecommerce 9
Find remote jobs at our new job board 99remotejobs.com. There are 30 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.