• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tlmanz / authkit
66%

Build:
DEFAULT BRANCH: main
Repo Added 22 Mar 2026 11:16AM UTC
Token sJOLUfmCBURTD5yIkYlqMlGWv7NyasBRf regen
Build 30 Last
Files 29
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
Sync Branches
  • main
  • dependabot-go_modules-main-github.com-alicebob-miniredis-v2-2.40.0
  • dependabot-go_modules-main-golang.org-x-crypto-0.50.0
  • dependabot-go_modules-main-golang.org-x-crypto-0.52.0
  • dependabot-go_modules-main-golang.org-x-crypto-0.53.0
  • feature/db-user-manager

22 Oct 2026 03:48PM UTC coverage: 66.002% (+3.3%) from 62.716%
39808305976

push

github

tlmanz
Enforce voluntary 2FA, remember every account per browser, add release pipeline

Sign-in only asked for a TOTP code when the role was in RequireForRoles, so
2FA a user turned on themselves protected nothing. A confirmed secret now
triggers the challenge on web, first-password and native sign-in, failing
closed if the 2FA state cannot be read. Turning 2FA off or regenerating
recovery codes now takes a current code or recovery code (throttled like a
login), and a remembered device no longer skips re-enrollment after a 2FA
reset.

The trusted-device cookie held one token per browser, so a second account
ticking "remember" made it forget the first. It now holds one entry per
account, labelled with an HMAC of the account so a sign-in looks up only its
own entry; v2.0.0 cookies are still read.

Adds a tag-driven release workflow, per-module changelogs and RELEASING.md.

135 of 157 new or added lines in 5 files covered. (85.99%)

2 existing lines in 1 file now uncovered.

1821 of 2759 relevant lines covered (66.0%)

85.17 hits per line

Relevant lines Covered
Build:
Build:
2759 RELEVANT LINES 1821 COVERED LINES
85.17 HITS PER LINE
Source Files on main
  • Tree
  • List 29
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
39808305976 main Enforce voluntary 2FA, remember every account per browser, add release pipeline Sign-in only asked for a TOTP code when the role was in RequireForRoles, so 2FA a user turned on themselves protected nothing. A confirmed secret now triggers the cha... push 22 Oct 2026 03:54PM UTC tlmanz github
66.0
29696263880 main releasing v2 with new improved security and features and braking changes push 19 Jul 2026 05:16PM UTC tlmanz github
62.72
29678600146 main updates push 19 Jul 2026 07:45AM UTC Tharuka github
62.52
29280493520 main hardening push 13 Jul 2026 07:58PM UTC tlmanz github
64.05
29278743998 main added demo token generation endpoint push 13 Jul 2026 07:31PM UTC tlmanz github
64.03
28937486392 main fixed security in totp flow push 08 Jul 2026 11:00AM UTC tlmanz github
63.8
28931978684 main updated with user name in claim push 08 Jul 2026 09:23AM UTC tlmanz github
63.82
28718027776 main feat: remember-device (trusted device) for the mobile token flow IssuePasswordToken accepts a trusted_device_token in the body and skips the TOTP step when it is a live trust (cookie-free equivalent of the web trustedDevice cookie). IssuePassword... push 04 Jul 2026 08:02PM UTC tlmanz github
63.79
28717516783 main feat: native mobile password + 2FA token endpoints IssuePasswordToken (POST /oauth/token/password) and IssuePasswordToken2FA (POST /oauth/token/2fa) exchange email+password (+TOTP) for the access/refresh token pair — cookie-free, for a first-part... push 04 Jul 2026 07:42PM UTC tlmanz github
63.23
28509238279 main feat: implement trusted devices for 2FA, allowing users to skip TOTP on remembered devices - Added TrustedDeviceStore to Config for managing trusted devices. - Updated Login flow to skip TOTP if the device is trusted. - Introduced endpoints for m... push 01 Jul 2026 09:57AM UTC tlmanz github
63.22
See All Builds (30)

Badge your Repo: authkit

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc