# crewjam/saml

SAML library for go

Repository: https://github.com/crewjam/saml
Canonical: https://ross.abutalabs.com/products/saml
Language: Go
License: BSD-2-Clause
License Family: permissive
Last push: 2026-01-29T10:52:25+00:00

## Health v2 (maintenance only)
Score: 61/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 64, release rhythm 35, longevity 100
- inputs: {"age_days": 3929, "days_push": 216, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1110, forks 474 (observed 2026-08-28T04:03:37.499279+00:00)

## What it is
A Go library providing a partial implementation of the SAML standard for identity federation. It supports building both Service Providers (via samlsp middleware) and Identity Providers (via samlidp) for SSO authentication flows.

## Use cases
- add SAML SSO login to a Go web application
- implement a SAML service provider in Go
- act as a SAML identity provider for testing
- authenticate users via Okta, Azure AD, or samltest.id
- protect HTTP endpoints with SAML middleware
- exchange SAML metadata with identity providers

## When to choose
- your Go app needs to delegate authentication to a SAML identity provider
- you need enterprise SSO integration via SAML 2.0
- you want middleware that handles SAML endpoints and session checks
- you need a test identity provider for SAML development

## When to avoid
- you need OAuth2 or OpenID Connect instead of SAML
- you need a complete, fully-featured identity provider product
- your stack is not Go
- you need full SAML standard coverage since the implementation is partial

## Facets
- artifact type: library
- maturity: stable
- function: auth, middleware, http-server, security
- domain: security, web-development, backend, apis
- platform: go, windows, cross-platform
- tags: saml, sso, identity-federation, service-provider, identity-provider, samlsp, linux, macos

## Member repositories
- crewjam/saml (main) score 61

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:37.499279+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:43:26.749433+00:00, confidence not recorded.
  - readme: https://github.com/crewjam/saml (fetched 2026-08-28T04:03:37.499279+00:00, sha 5452812c3d33)
- Data as of 2026-08-30T08:39:29.467469+00:00.
