Golang library for AuthN/AuthZ

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • fosite

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

    You can take a look to https://github.com/ory/fosite

  • warrant

    Warrant is a highly scalable, centralized authorization service based on Google Zanzibar, used for defining, querying, and auditing application authorization models and access control rules.

    For authn, I'd recommend any of the ones folks have mentioned here. For authz, it depends a lot on your use case(s). If you're going to be doing anything fine-grained or granular (e.g. object or resource based permissions), you might want to explore pairing your authn solution with a fine grained authz system like Warrant (https://github.com/warrant-dev/warrant)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

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