Awesome Go Authentication and OAuth

  • authboss authboss 3,610
    star
    updated 4 months ago MIT License

    The boss of http auth.

  • branca branca 171
    star
    updated over 3 years ago MIT License

    πŸ”‘ Secure alternative to JWT. Authenticated Encrypted API Tokens for Go.

  • updated 27 days ago MIT License

    Authenticated encrypted API tokens (IETF XChaCha20-Poly1305 AEAD) for Golang

  • updated over 2 years ago

    Authenticated and encrypted API tokens using modern crypto

  • updated over 1 year ago MIT License

    cookiestxt implement parser of cookies txt format

  • updated 8 months ago Apache License 2.0

    Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work.

  • fosite fosite 2,218
    star
    updated 3 months ago Apache License 2.0

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

  • updated 4 months ago MIT License

    Golang library for providing a canonical representation of email address.

  • updated 11 months ago MIT License

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

  • gologin gologin 1,742
    star
    updated about 2 months ago MIT License

    Go login handlers for authentication providers (OAuth1, OAuth2)

  • gorbac gorbac 1,509
    star
    updated 9 months ago MIT License

    goRBAC provides a lightweight role-based access control (RBAC) implementation in Golang.

  • updated 9 months ago MIT License

    This is quick session for net/http in golang. This package is perhaps the best implementation of the session mechanism, at least it tries to become one.

  • goth goth 4,979
    star
    updated 6 days ago MIT License

    Package goth provides a simple, clean, and idiomatic way to write authentication packages for Go web applications.

  • updated about 1 year ago Apache License 2.0

    A best practice http server set up that supports graceful shutdown

  • updated about 1 year ago Apache License 2.0

    A lightweight Go library for writing responses and errors to HTTP

  • hydra hydra 14,588
    star
    updated 6 months ago Apache License 2.0

    OpenID Certifiedβ„’ OpenID Connect and OAuth Provider written in Go - cloud native, security-first, open source API security for your infrastructure. SDKs for any language. Works with Hardware Security Modules. Compatible with MITREid.

  • jeff jeff 259
    star
    updated about 1 year ago BSD 3-Clause "New...

    🍍Jeff provides the simplest way to manage web sessions in Go.

  • jwt jwt 6,271
    star
    updated about 2 months ago MIT License

    Community maintained clone of https://github.com/dgrijalva/jwt-go

  • updated almost 3 years ago MIT License

    This package provides json web token (jwt) middleware for goLang http servers

  • keto keto 4,528
    star
    updated about 2 months ago Apache License 2.0

    Open Source (Go) implementation of "Zanzibar: Google's Consistent, Global Authorization System". Ships gRPC, REST APIs, newSQL, and an easy and granular permission language. Supports ACL, RBAC, and other access models.

  • kratos kratos 8,361
    star
    updated about 1 year ago Apache License 2.0

    Next-gen identity server (think Auth0, Okta, Firebase) with Ory-hardened authentication, MFA, FIDO2, TOTP, WebAuthn, profile management, identity schemas, social sign in, registration, account recovery, passwordless. Golang, headless, API-only - without templating or theming headaches. Available as a cloud service.

  • ladon ladon 2,280
    star
    updated 11 months ago Apache License 2.0

    A SDK for access control policies: authorization for the microservice and IoT age. Inspired by AWS IAM policies. Written for Go.

  • loginsrv loginsrv 1,910
    star
    updated about 3 years ago MIT License

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

  • nosurf nosurf 1,459
    star
    updated over 1 year ago MIT License

    CSRF protection middleware for Go.

  • updated 2 months ago Apache License 2.0

    A cloud native Identity & Access Proxy / API (IAP) and Access Control Decision API that authenticates, authorizes, and mutates incoming HTTP(s) requests. Inspired by the BeyondCorp / Zero Trust white paper. Written in Go.

  • oauth2 oauth2 5,070
    star
    updated 2 months ago BSD 3-Clause "New...

    Go OAuth2

  • osin osin 1,832
    star
    updated 9 months ago BSD 3-Clause "New...

    Golang OAuth2 server library

  • otpgen otpgen 133
    star
    updated 4 months ago MIT License

    Library to generate TOTP/HOTP codes

  • otpgo otpgo 65
    star
    updated about 3 years ago MIT License

    Time-Based One-Time Password (TOTP) and HMAC-Based One-Time Password (HOTP) library for Go.

  • paseto paseto 740
    star
    updated about 1 year ago MIT License

    Platform-Agnostic Security Tokens implementation in GO (Golang)

  • updated 10 months ago MIT License

    πŸ” Middleware for keeping track of users, login states and permissions

  • scs scs 1,562
    star
    updated 8 months ago MIT License

    HTTP Session Management for Go

  • updated about 1 year ago MIT License

    Fast, secure and efficient secure cookie encoder/decoder

  • updated over 1 year ago Apache License 2.0

    Go session management for web servers (including support for Google App Engine - GAE).

  • updated over 2 years ago MIT License

    A driver for the SessionGate Redis module - easy session management using the Go language.

  • updated 10 months ago MIT License

    A dead simple, highly performant, highly customizable sessions middleware for go http servers.

  • updated about 2 years ago MIT License

    Straightforward HTTP session management

  • updated 12 months ago MIT License

    Compatibility layer for tornado's signed values (and secure cookies consequently)

  • sjwt sjwt 116
    star
    updated 3 months ago MIT License

    Simple JWT Golang

  • x x 77
    star
    updated 3 months ago Apache License 2.0

    Libraries used in the Ory ecosystem