Skip to content

theAuth 0.7.2

Choose a tag to compare

@github-actions github-actions released this 11 Oct 02:03
86a3448

theAuth 0.7.2

Fixes

  • Fix the quick start snippet in the package README: enable the agent tables with agents: { enabled: true }, await createTheAuth, and create the owner row first.
  • Record denied attempts by revoked and expired agents in the audit log. authorize() and authorizeByToken() now write a denied row with reason agent_revoked or agent_expired for a known agent, so the attempt is visible and stays on the agent's hash chain. Decisions are unchanged. Unknown agent ids and unknown tokens still write no row.

Packages in this release

Package Version Changelog
@glinr/theauth 0.7.1 to 0.7.2 CHANGELOG
@glinr/theauth-cli 0.3.2 to 0.3.3 CHANGELOG
theauth 0.2.1 to 0.2.2 CHANGELOG

Install

npm install @glinr/theauth@0.7.2

Go: go get github.com/glincker/theauth-go/v2 (releases: https://github.com/glincker/theauth-go/releases). Docs: https://docs.theauth.dev

Full changelog: v0.7.1...v0.7.2

Discussion: https://github.com/glincker/theauth/discussions/172