How to authenticate microservices?

This page summarizes the projects mentioned and recommended in the original post on /r/golang

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • jwt

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

    Either way, you will need to validate the signature of the JWT. You can do this with the public key and a library such as https://github.com/golang-jwt/jwt.

  • SaaSHub

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

    SaaSHub logo
  • bouncer

    JWT-based authentication and authorization service (by kaancfidan)

    OPA is a full fledged solution as an external auth provider to reverse proxies like Nginx, Envoy or Traefik...etc. It can be a bit complex and overkill for smaller systems. I have a solution called bouncer as a much simpler and opinionated replacement to OPA. Have a look at it, at least it can give you ideas.

  • OPA (Open Policy Agent)

    Open Policy Agent (OPA) is an open source, general-purpose policy engine.

    OPA is a full fledged solution as an external auth provider to reverse proxies like Nginx, Envoy or Traefik...etc. It can be a bit complex and overkill for smaller systems. I have a solution called bouncer as a much simpler and opinionated replacement to OPA. Have a look at it, at least it can give you ideas.

  • credentials-operator

    Automatically register and generate AWS, GCP & Azure IAM roles, X.509 certificates and username/password pairs for Kubernetes pods using cert-manager, CNCF SPIRE or Otterize Cloud

    You could create JWT or mTLS-based identities, and then verify those in your middleware. If you are on Kubernetes, you might try using SPIRE together with the SPIRE integration operator to automatically issue identities as Kubernetes secrets, which you could then use to connect between services.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • The never-ending product requirements of user authorization

    2 projects | /r/programming | 16 Sep 2021
  • Cerbos: Fine-Grained Access Control in Days NOT Months

    2 projects | dev.to | 26 Nov 2024
  • My Journey in Authorization with OPAL

    2 projects | dev.to | 23 Jun 2024
  • How to Implement Authorization in React JS

    3 projects | dev.to | 1 May 2024
  • Open Policy Agent

    8 projects | news.ycombinator.com | 12 Mar 2024

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