Go Authentication

Open-source Go projects categorized as Authentication | Edit details
Related topics: #Golang #Go #JWT #Oauth2 #Auth

Top 23 Go Authentication Projects

  • GitHub repo authelia

    The Single Sign-On Multi-Factor portal for web apps

    Project mention: NGINX-PM + Authelia + FreeIPA With Multiple Security Groups | reddit.com/r/homelab | 2022-01-20

    # yamllint disable rule:comments-indentation # https://github.com/authelia/authelia # https://www.authelia.com/docs/configuration/ # https://dbt3ch.com/books/authelia-for-nginx-proxy-manager # https://shownotes.opensourceisawesome.com/authelia-authentication/ --- ############################################################################### # Authelia Configuration # ############################################################################### theme: dark jwt_secret: REDACTED default_redirection_url: https://home.DOMAIN.TLD/ # Log Configuration log: level: info format: json file_path: /config/authelia.log keep_stdout: false # Server Configuration server: host: 0.0.0.0 port: 9091 path: "" asset_path: /assets/ #Site static configs. read_buffer_size: 4096 write_buffer_size: 4096 enable_pprof: false enable_expvars: false disable_healthcheck: false # Certificates directory for all other certificates used to verify TLS. certificates_directory: /certs/ # NTP Configuration ntp: address: "pool.ntp.org:123" version: 4 max_desync: 3s disable_startup_check: false disable_failure: false # TOTP Configuration totp: issuer: DOMAIN.TLD_SSO algorithm: sha256 digits: 6 period: 30 skew: 1 # Authentication Backend Provider Configuration authentication_backend: disable_reset_password: false refresh_interval: 5m ldap: implementation: custom url: ldaps://ipa.DOMAIN.TLD:636 timeout: 5s start_tls: false tls: server_name: ipa.DOMAIN.TLD skip_verify: true minimum_version: TLS1.2 base_dn: dc=DOMAIN,dc=TLD username_attribute: uid group_name_attribute: cn display_name_attribute: sn users_filter: (&({username_attribute}={input})(objectClass=person)(!(nsaccountlock=TRUE))) groups_filter: (&(member=uid={input},cn=users,cn=accounts,dc=DOMAIN,dc=TLD)(objectClass=groupOfNames)(|(cn=apps-security)(cn=apps-users))) #Bind credentials user: uid=BIND-USER,cn=users,cn=accounts,dc=DOMAIN,dc=TLD password: REDACTED # Access Control Configuration access_control: default_policy: deny # Network rule definitions. networks: - name: internal networks: - 10.0.0.0/8 # Rules for access to apps. rules: - domain: auth.DOMAIN.TLD policy: bypass - domain: - app-sec01.DOMAIN.TLD - app-sec02.DOMAIN.TLD - app-sec03.DOMAIN.TLD network: internal subject: "group:apps-security" policy: two_factor - domain: - app-user01.DOMAIN.TLD - app-user02.DOMAIN.TLD - app-user03.DOMAIN.TLD subject: "group:apps-users" policy: two_factor # Session Provider Configuration session: name: authelia_session domain: DOMAIN.TLD same_site: lax secret: REDACTED expiration: 24h inactivity: 120m remember_me_duration: 1M redis: host: REDIS-CONTAINER-NAME port: 6379 password: REDACTED database_index: 0 maximum_active_connections: 8 minimum_idle_connections: 0 # Regulation Configuration regulation: max_retries: 6 find_time: 2m ban_time: 5m # Storage Provider Configuration storage: encryption_key: REDACTED mysql: host: MARIADB-CONTAINER-NAME port: 3306 database: authelia username: authelia password: REDACTED timeout: 5s # Notification Provider notifier: disable_startup_check: false filesystem: filename: /config/notification.txt ...

  • GitHub repo go-grpc-middleware

    Golang gRPC Middlewares: interceptor chaining, auth, logging, retries and more.

    Project mention: [Question] Suggested way to update a database row using gRPC/PostgreSQL (pgx) ? | reddit.com/r/golang | 2021-11-16

    I do some basic validation at the server layer using a GRPC interceptor.

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

  • GitHub repo S.S.Octopus

    sso, aka S.S.Octopus, aka octoboi, is a single sign-on solution for securing internal services

    Project mention: Introduction to Zero Trust on AWS ECS Fargate | dev.to | 2021-08-30

    SSO to the rescue!

  • GitHub repo 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

  • GitHub repo Ory Oathkeeper

    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.

    Project mention: oathkeeper alternatives - emissary, envoy, and Nginx | libhunt.com/r/oathkeeper | 2022-01-18
  • GitHub repo fosite

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

  • GitHub repo 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!

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

  • GitHub repo casdoor

    A UI-first centralized authentication / Single-Sign-On (SSO) platform supporting OAuth 2.0 / OIDC and SAML, QQ group: 645200447

    Project mention: Casdoor: Open-source IAM with beautiful web UI for OIDC and SAML written in Go | news.ycombinator.com | 2022-01-17
  • GitHub repo authentik

    The authentication glue you need.

    Project mention: Pass credentials from Authelia to protected backend | reddit.com/r/selfhosted | 2022-01-21

    You might want to try out authentik : https://goauthentik.io/ . It does already support SAML & OAuth. They have documentation for Portainer here : https://goauthentik.io/integrations/services/portainer/ so you should be able to get SSO with Portainer.

  • GitHub repo firebase-admin-go

    Firebase Admin Go SDK

    Project mention: I am getting and error saying firebase.google.com/go/v4/internal not allowed during local replace directive. Can anyone help? | reddit.com/r/golang | 2021-10-13

    I recently tried to fork the firebase-admin-go package and add a few edits that I need for a project. I decided to use a replace directive in my go.mod file but when I do I get this error:

  • GitHub repo caddy-auth-portal

    Authentication Plugin for Caddy v2 implementing Form-Based, Basic, Local, LDAP, OpenID Connect, OAuth 2.0 (Github, Google, Facebook, Okta, etc.), SAML Authentication. MFA with App Authenticators and Yubico.

    Project mention: Any recommendations for internal network inventory website? | reddit.com/r/homelab | 2022-01-10

    Caddy Auth Portal. Also has the advantage of providing unified secure 2FA.

  • GitHub repo 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

  • GitHub repo go-guardian

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

    Project mention: After 2 years of Django, I'm starting using Go for building web servers. Do you guys have any suggestions? | reddit.com/r/golang | 2021-05-24

    https://github.com/labstack/echo This is going to be my next project I look at. Alternatively you can incorporate the security bits manually by importing something like: https://github.com/shaj13/go-guardian

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

  • GitHub repo mosquitto-go-auth

    Auth plugin for mosquitto.

    Project mention: Which MQTT broker comes with SQL database authentication? | reddit.com/r/MQTT | 2022-01-15
  • GitHub repo auth

    Authenticator via oauth2 (by go-pkgz)

  • GitHub repo 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

  • GitHub repo webauthn

    Go package for easy WebAuthn integration (by koesie10)

  • GitHub repo sessionup

    Straightforward HTTP session management

  • GitHub repo gosip

    ⚡️ SharePoint authentication, HTTP client & fluent API wrapper for Go (Golang)

  • GitHub repo auth-server

    Simple authentication and authorization server

    Project mention: Set up your own authentication and authorization server | reddit.com/r/selfhosted | 2021-10-18
  • GitHub repo totp

    Time-Based One-Time Password Code Generator (by arcanericky)

    Project mention: What are your guy's reasons for self hosting? Particularly cloud services. | reddit.com/r/selfhosted | 2021-10-06

    I rolled my own by wrapping a UI around this awesome little go utility... https://github.com/arcanericky/totp

  • GitHub repo 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
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-21.

Go Authentication related posts

Index

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

Project Stars
1 authelia 11,499
2 go-grpc-middleware 4,242
3 S.S.Octopus 2,851
4 gotrue 2,560
5 Ory Oathkeeper 2,465
6 fosite 1,762
7 vouch-proxy 1,697
8 casdoor 1,415
9 authentik 962
10 firebase-admin-go 770
11 caddy-auth-portal 667
12 paseto 568
13 go-guardian 334
14 zitadel 322
15 mosquitto-go-auth 281
16 auth 199
17 gotrue 155
18 webauthn 142
19 sessionup 113
20 gosip 71
21 auth-server 55
22 totp 49
23 hasura_gotrue 16
Find remote jobs at our new job board 99remotejobs.com. There are 29 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.
www.sonarlint.org