Package authgoth adapts any github.com/markbates/goth provider into an oauth.Provider, so an app that already configures its sign-in through goth (or needs one of goth's 70-odd providers the oauth plugin has no preset for) keeps that configuration and gets everything else from plugin/oauth: the state, the flow cookie, account linking, the verified-email rules, rate limits and hooks.
Package cookie builds *http.Cookie values for a session ID with secure-by-default flags (Secure, HttpOnly, SameSite=Lax), so that downstream apps wiring a session.Store into an HTTP handler never have to reimplement safe cookie defaults from scratch.
Package browser provides portable cookie parsing, queries, and normalization.
The macaroon package implements macaroons as described in the paper "Macaroons: Cookies with Contextual Caveats for Decentralized Authorization in the Cloud" (http://theory.stanford.edu/~ataly/Papers/macaroons.pdf)
Package auth is browser sign-in for a service with no user table: OIDC (authorization code with PKCE, state and nonce in transient cookies, an optional required group), an HMAC-signed session cookie that carries the identity itself, and a password check for deployments without an identity provider (a fixed account or a bcrypt hash).
Package auth provides OIDC login, signed session cookies and permission middleware for Datasektionen systems.
Package cookie implements DNS Cookies (RFC 7873) with the interoperable SipHash-2-4 server cookie of RFC 9018 as a CoreDNS plugin.
Command portal is the server behind the go-fileshare UIs: it logs people in with OpenID Connect, keeps their session in a sealed cookie, buys a token for each fileshare server, and passes the UIs' Connect calls to the servers with those tokens.
Package gosso implements the shared OpenID Connect login flow used by GoDash, GoCron and friends: the browser handshake, state and session cookies, PKCE S256 code exchange against a discovered provider, and pluggable session storage.
Package gorilla/sessions provides cookie and filesystem sessions and infrastructure for custom session backends.
Package sessions provides cookie and filesystem sessions and infrastructure for custom session backends.
The macaroon package implements macaroons as described in the paper "Macaroons: Cookies with Contextual Caveats for Decentralized Authorization in the Cloud" (http://theory.stanford.edu/~ataly/Papers/macaroons.pdf)
Package access holds the building blocks of sign-in: the Authenticator that guards a route with session and idle/absolute timeouts, Argon2id password hashing in PHC string format, session and API-key tokens, cookies, Secret, Hash and Sealer, the role check, the display-name check, the browser Origin, and the errors and limits of passkey and single sign-on operations.
Package web is server-rendered HTML on gox: templ pages behind the gox.HTTP() server with a layout, static assets, cookie sessions with CSRF, one-shot flashes, a form decoder, HTML error pages, and a per-request client for the service's own API.
Package usher authenticates users against Microsoft Entra ID and carries the result in a signed cookie.
Package seal encrypts small values an application must be able to read back, such as third-party client secrets, private keys or values in a cookie, using AES-256-GCM.
Package stripcookie a plugin to strip cookies.
Unofficial Pulumi provider for managing Osano Cookie Consent and Unified Consent resources.