github.com/go-pkgz/auth
v1.26.0
#1710 most downloaded on Go modules
go-pkgz/auth
What this package is like to depend on
Last release 5 days ago
19 Aug 2026
Release timing varies
gaps range from 2 weeks to 4 months
Rarely documented
notes for 5 of 59 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
184 releases · first in 2018
51 releases in the last 12 months
see the full history below
Release timeline
184 releases · Dec 2018 to Aug 2026Releases
latest 60 of 184-
v1.26.019 Aug 2026Release notes
Open source →EmailParamsgainsHELOHost, which sets the hostname the sender announces in the SMTP greeting. Left empty it stayslocalhost, so existing configurations are unchanged. A relay enforcingreject_non_fqdn_helo_hostnameorreject_unknown_helo_hostnamerefuses the default greeting, and the verification message never leaves.Verification email delivery is now bound to the request context.
TimeOutcovered the connection setup only, so a server that accepted the connection and then stalled held the login request for as long as it liked. The send now ends when the request does.Senderimplementations that do not offerSendContextkeep working through the existingSend.Also updates dependencies across the root, v2 and example modules, and sets explicit
GITHUB_TOKENpermissions in the workflows. -
v1.25.8-0.20260819052743-23c397973b1c19 Aug 2026 pre-releaseNothing published for this version
-
v1.25.719 Aug 2026Release notes
Open source →Avatar storage on GridFS destroyed data. Every
Putcreated a new revision under the same filename, so old avatars accumulated,Removedeleted only the newest one and left the avatar readable, andIDcould return a stale revision. Cleanup now removes only revisions older than the upload that just completed, so two concurrent uploads for the same user cannot delete each other's file.Apple public keys are now cached rather than fetched on every login, refreshed when a token names an unknown key so rotation still works, and reused for up to 12 hours if the key service is unreachable. A non-2xx response or an empty key set is rejected instead of being cached as valid.
The post-auth redirect uses 303 instead of 307. Apple's
form_postcallback arrives as a POST, and a method-preserving redirect replayed it onto the target page, which a static file server answers with 405. This changes the status for the oauth1, oauth2 and verify providers as well.Two documented parameters now work:
sessionis honoured by the direct and verify providers, andaudis accepted alongsidesiteon the verify confirmation request. Apple no longer forces a persistent cookie when a session-only login was requested. For the direct and verify providers any non-zerosessvalue now means session-only, where previously onlysess=1did.The avatar route returns 404 when no avatar store is configured, instead of dereferencing a nil proxy.
Dependencies:
go-pkgz/emailv0.8.0 andgo-pkgz/restv1.24.0. CI moves to go 1.26 and golangci-lint v2.12. -
v1.25.625 Jul 2026Release notes
Open source →The GitHub provider can now derive the local user id from the immutable numeric account id instead of the mutable login. This is opt-in and off by default, since enabling it changes the id of every existing GitHub user. Separately, the OAuth1 and OAuth2 callbacks no longer skip the user info HTTP status check, which previously let an error response map every failed login onto one shared user id.
Changes since v1.25.5
- #301 opt-in github numeric user id, reject non-2xx user info
- #298 bump golang.org/x/image from 0.39.0 to 0.41.0
Full Changelog: v1.25.5...v1.25.6
-
v1.25.6-0.20260710071713-5b77d7fa682210 Jul 2026 pre-releaseNothing published for this version
-
v1.25.6-0.20260704005118-2b5024dc650a04 Jul 2026 pre-releaseNothing published for this version
-
v1.25.504 Jul 2026Release notes
Open source →Changes since v1.25.4
- #293 redact sensitive auth logging
- #292 package-wide comment sweep
- #291 fix misleading and stale docstrings around the security fix
Full Changelog: v1.25.4...v1.25.5
-
v1.25.5-0.20260525164304-54502eeba7ed25 May 2026 pre-releaseNothing published for this version
-
v1.25.5-0.20260521031211-441f45a5de0721 May 2026 pre-releaseNothing published for this version
-
v1.25.421 May 2026Release notes
Open source →Security: fixes stored XSS in
avatar.Proxyby rejecting non-image avatar content before storage and before serving. Also adds CSP/nosniff headers, WebP-safe validation, ETag parsing fixes, and decompression-bomb checks. Credit to @paskal.Changes since v1.25.3
- #290 prevent stored XSS via avatar content-type spoofing
Full Changelog: v1.25.3...v1.25.4
-
v1.25.310 May 2026Nothing published for this version
-
v1.25.3-0.20260509165110-18619588628d09 May 2026 pre-releaseNothing published for this version
-
v1.25.3-0.20260509052301-e5f47f5637a709 May 2026 pre-releaseNothing published for this version
-
v1.25.3-0.20260506065913-66189f0786f406 May 2026 pre-releaseNothing published for this version
-
v1.25.222 Apr 2026Nothing published for this version
-
v1.25.2-0.20260421203319-686683f19cf721 Apr 2026 pre-releaseNothing published for this version
-
v1.25.2-0.20260420232834-c00a6e9cb4e320 Apr 2026 pre-releaseNothing published for this version
-
v1.25.2-0.20260405041934-2f2a72fbc54c05 Apr 2026 pre-releaseNothing published for this version
-
v1.25.2-0.20260211045941-b18696241f8911 Feb 2026 pre-releaseNothing published for this version
-
v1.25.2-0.20260211003156-fbba7f2baa6b11 Feb 2026 pre-releaseNothing published for this version
-
v1.25.2-0.20260210234152-7e1ed2cedf7110 Feb 2026 pre-releaseNothing published for this version
-
v1.25.2-0.20260119213210-5ff800f4c06419 Jan 2026 pre-releaseNothing published for this version
-
v1.25.2-0.20251222195524-fe8d6914a14522 Dec 2025 pre-releaseNothing published for this version
-
v1.25.2-0.20251216190714-b18b2ea64fd616 Dec 2025 pre-releaseNothing published for this version
-
v1.25.2-0.20251204171628-fe069eea0de104 Dec 2025 pre-releaseNothing published for this version
-
v1.25.2-0.20251130231918-dfe4210f5b3330 Nov 2025 pre-releaseNothing published for this version
-
v1.25.2-0.20250718024932-c6d2822eda5c18 Jul 2025 pre-releaseNothing published for this version
-
v1.25.2-0.20250415030422-4f9f2c5e3b0d15 Apr 2025 pre-releaseNothing published for this version
-
v1.25.2-0.20250323224515-ea5d5444cc3e23 Mar 2025 pre-releaseNothing published for this version
-
v1.25.123 Mar 2025Nothing published for this version
-
v1.25.1-0.20250224171712-acb6368627f024 Feb 2025 pre-releaseNothing published for this version
-
v1.25.024 Jan 2025Nothing published for this version
-
v1.24.3-0.20250124163251-9d0d8a305a6724 Jan 2025 pre-releaseNothing published for this version
-
v1.24.3-0.20241221172452-ba01339372ba21 Dec 2024 pre-releaseNothing published for this version
-
v1.24.3-0.20241208183119-88b3a842be9f08 Dec 2024 pre-releaseNothing published for this version
-
v1.24.3-0.20241205021110-59656e460ba305 Dec 2024 pre-releaseNothing published for this version
-
v1.24.3-0.20241007090635-78537e6f812d07 Oct 2024 pre-releaseNothing published for this version
-
v1.24.222 Sep 2024Nothing published for this version
-
v1.24.2-0.20240922185324-f0b60977012922 Sep 2024 pre-releaseNothing published for this version
-
v1.24.2-0.20240921022538-30916c085e0421 Sep 2024 pre-releaseNothing published for this version
-
v1.24.2-0.20240921020949-23da433bf4bb21 Sep 2024 pre-releaseNothing published for this version
-
v1.24.2-0.20240921014908-825b117d9ed921 Sep 2024 pre-releaseNothing published for this version
-
v1.24.119 Sep 2024Nothing published for this version
-
v1.24.1-0.20240919234501-458e57e5194819 Sep 2024 pre-releaseNothing published for this version
-
v1.24.1-0.20240919232608-9e446b88818719 Sep 2024 pre-releaseNothing published for this version
-
v1.24.1-0.20240831054953-d5ed87f2e77a31 Aug 2024 pre-releaseNothing published for this version
-
v1.24.030 Jul 2024Nothing published for this version
-
v1.23.1-0.20240919231610-af9dce7b347a19 Sep 2024 pre-releaseNothing published for this version
-
v1.23.1-0.20240702161243-cbbbd340865c02 Jul 2024 pre-releaseNothing published for this version
-
v1.23.1-0.20240410212056-43aa4201a43210 Apr 2024 pre-releaseNothing published for this version
-
v1.23.1-0.20240410080425-e0ea38d27ee110 Apr 2024 pre-releaseNothing published for this version
-
v1.23.022 Mar 2024Nothing published for this version
-
v1.22.2-0.20240322164115-d60c4b1d204e22 Mar 2024 pre-releaseNothing published for this version
-
v1.22.2-0.20240313233230-92fa4313fef813 Mar 2024 pre-releaseNothing published for this version
-
v1.22.2-0.20240117071454-f721b8c33b0517 Jan 2024 pre-releaseNothing published for this version
-
v1.22.2-0.20240110230548-7a3db006ab6e10 Jan 2024 pre-releaseNothing published for this version
-
v1.22.119 Dec 2023Nothing published for this version
-
v1.22.1-0.20231219172726-eb8671b0658719 Dec 2023 pre-releaseNothing published for this version
-
v1.22.1-0.20231211171647-0fc8abcd855711 Dec 2023 pre-releaseNothing published for this version
-
v1.22.1-0.20231016154553-0bcc0773e3ba16 Oct 2023 pre-releaseNothing published for this version