<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mindattic.com/wiki/docs/index.php?action=history&amp;feed=atom&amp;title=MindAttic.Authentication%2FSPEC</id>
	<title>MindAttic.Authentication/SPEC - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mindattic.com/wiki/docs/index.php?action=history&amp;feed=atom&amp;title=MindAttic.Authentication%2FSPEC"/>
	<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=MindAttic.Authentication/SPEC&amp;action=history"/>
	<updated>2026-12-06T09:49:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.3</generator>
	<entry>
		<id>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Authentication/SPEC&amp;diff=2089&amp;oldid=prev</id>
		<title>Docs Sync: md2wiki: sync from MindAttic.Docs</title>
		<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=MindAttic.Authentication/SPEC&amp;diff=2089&amp;oldid=prev"/>
		<updated>2026-12-01T03:22:04Z</updated>

		<summary type="html">&lt;p&gt;md2wiki: sync from MindAttic.Docs&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 03:22, 1 December 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l211&quot;&gt;Line 211:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 211:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 2026-11-30&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 2026-11-30&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| MAT-T462 source&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-to-sea &lt;/del&gt;pass: 6 renamed, 0 buckets, 14 requires added, 1 platform re-point (provisioning named as Vault-backed)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| MAT-T462 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;single-&lt;/ins&gt;source pass: 6 renamed, 0 buckets, 14 requires added, 1 platform re-point (provisioning named as Vault-backed)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| MAT-T466&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| MAT-T466&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Docs Sync</name></author>
	</entry>
	<entry>
		<id>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Authentication/SPEC&amp;diff=2038&amp;oldid=prev</id>
		<title>Docs Sync: md2wiki: sync from MindAttic.Docs</title>
		<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=MindAttic.Authentication/SPEC&amp;diff=2038&amp;oldid=prev"/>
		<updated>2026-11-30T19:52:54Z</updated>

		<summary type="html">&lt;p&gt;md2wiki: sync from MindAttic.Docs&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:52, 30 November 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l171&quot;&gt;Line 171:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 171:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;S10.2.1 Release 11.0&amp;lt;/strong&amp;gt; — M.AUTH-T123. Given the epic is done, then 11.0 is published, the AITM residual is marked closed in SECURITY_SPEC, consumers are ticketed, and the owner signs in with a passkey.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;S10.2.1 Release 11.0&amp;lt;/strong&amp;gt; — M.AUTH-T123. Given the epic is done, then 11.0 is published, the AITM residual is marked closed in SECURITY_SPEC, consumers are ticketed, and the owner signs in with a passkey.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=== Added by MAT-T477 (owner stories and cross-repo links) ===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &amp;lt;strong&amp;gt;S M.AUTH-T124 Invitation email sets a password&amp;lt;/strong&amp;gt; (feature M.AUTH-T56, MS-28): Tutor&#039;s TUT-T258 requires it.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &amp;lt;strong&amp;gt;E M.AUTH-T125 Sign in with an institution&amp;lt;/strong&amp;gt; (MS-135; priority 500)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** F M.AUTH-T126 SAML and OIDC single sign-on / S M.AUTH-T127 Institution single sign-on: Gadfly&#039;s GAD-T943 requires it; the 11.0 polish M.AUTH-T122 waits for it.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 5. Non-functional requirements ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 5. Non-functional requirements ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l207&quot;&gt;Line 207:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 213:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| MAT-T462 source-to-sea pass: 6 renamed, 0 buckets, 14 requires added, 1 platform re-point (provisioning named as Vault-backed)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| MAT-T462 source-to-sea pass: 6 renamed, 0 buckets, 14 requires added, 1 platform re-point (provisioning named as Vault-backed)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| MAT-T466&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| MAT-T466&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| 2026-11-30&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| MAT-T477 owner story for Tutor, Gadfly&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| MAT-T477&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Docs Sync</name></author>
	</entry>
	<entry>
		<id>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Authentication/SPEC&amp;diff=1913&amp;oldid=prev</id>
		<title>Docs Sync: md2wiki: sync from MindAttic.Docs</title>
		<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=MindAttic.Authentication/SPEC&amp;diff=1913&amp;oldid=prev"/>
		<updated>2026-11-30T19:43:52Z</updated>

		<summary type="html">&lt;p&gt;md2wiki: sync from MindAttic.Docs&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:43, 30 November 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l6&quot;&gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 1. Product definition ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 1. Product definition ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;In &amp;lt;code&amp;gt;docs/ECOSYSTEM.md&amp;lt;/code&amp;gt; this is a &amp;lt;strong&amp;gt;platform&amp;lt;/strong&amp;gt; repo: it owns the &amp;lt;strong&amp;gt;sign-in&amp;lt;/strong&amp;gt; concern, one hardened auth for every MindAttic app that has users.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;MindAttic.Authentication is one hardened, Vault-backed sign-in engine shipped as a Razor Class Library (NuGet), so every MindAttic ASP.NET Core app (Gadfly, IdeaCms, IdiotProof, Prose, ThinkTank, Tutor) authenticates identically: Argon2id passwords with a Vault pepper, uniform responses with no enumeration oracle, TOTP MFA that cannot be bypassed, password change and reset, sessions that revoke promptly, opt-in organizations and invitations, and a full audit trail. It is built to OWASP ASVS L2 and NIST SP 800-63B AAL2 under a threat model that assumes a full database breach ([[MindAttic.Authentication/SECURITY_SPEC|SECURITY_SPEC.md]], [[MindAttic.Authentication/BIBLE|BIBLE.md]]). The finished product (11.0) adds startup-asserted wiring, an operator provisioning CLI, a signed reproducible package and phishing-resistant passkeys.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;MindAttic.Authentication is one hardened, Vault-backed sign-in engine shipped as a Razor Class Library (NuGet), so every MindAttic ASP.NET Core app (Gadfly, IdeaCms, IdiotProof, Prose, ThinkTank, Tutor) authenticates identically: Argon2id passwords with a Vault pepper, uniform responses with no enumeration oracle, TOTP MFA that cannot be bypassed, password change and reset, sessions that revoke promptly, opt-in organizations and invitations, and a full audit trail. It is built to OWASP ASVS L2 and NIST SP 800-63B AAL2 under a threat model that assumes a full database breach ([[MindAttic.Authentication/SECURITY_SPEC|SECURITY_SPEC.md]], [[MindAttic.Authentication/BIBLE|BIBLE.md]]). The finished product (11.0) adds startup-asserted wiring, an operator provisioning CLI, a signed reproducible package and phishing-resistant passkeys.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l103&quot;&gt;Line 103:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 105:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== E7. Security invariants under test — M.AUTH-T51 — MS-28 ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== E7. Security invariants under test — M.AUTH-T51 — MS-28 ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== F7.1 Account &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;service tests &lt;/del&gt;— M.AUTH-T53 — MS-28 ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== F7.1 Account &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rules proven &lt;/ins&gt;— M.AUTH-T53 — MS-28 ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;Task: MFA enrollment tests&amp;lt;/strong&amp;gt; — M.AUTH-T4. Given an expired or tampered pending secret or a bad code, when ConfirmAsync runs, then MFA stays disabled.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;Task: MFA enrollment tests&amp;lt;/strong&amp;gt; — M.AUTH-T4. Given an expired or tampered pending secret or a bad code, when ConfirmAsync runs, then MFA stays disabled.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l109&quot;&gt;Line 109:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 111:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;Task: Bootstrap and user-store tests&amp;lt;/strong&amp;gt; — M.AUTH-T11. Given any existing user, then seeding is a no-op; given no bootstrap token, then it throws.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;Task: Bootstrap and user-store tests&amp;lt;/strong&amp;gt; — M.AUTH-T11. Given any existing user, then seeding is a no-op; given no bootstrap token, then it throws.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== F7.2 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Session revocation tests &lt;/del&gt;— M.AUTH-T54 — MS-28 ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== F7.2 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Revoked sessions stay revoked &lt;/ins&gt;— M.AUTH-T54 — MS-28 ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;Task: Cookie validation tests&amp;lt;/strong&amp;gt; — M.AUTH-T6. Given a mismatched stamp or idle timeout, then the cookie is rejected.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;Task: Cookie validation tests&amp;lt;/strong&amp;gt; — M.AUTH-T6. Given a mismatched stamp or idle timeout, then the cookie is rejected.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;Task: Blazor revalidation tests&amp;lt;/strong&amp;gt; — M.AUTH-T7. Given a revoked or expired session, then the circuit loses access.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;Task: Blazor revalidation tests&amp;lt;/strong&amp;gt; — M.AUTH-T7. Given a revoked or expired session, then the circuit loses access.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== F7.3 HTTP surface &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;tests &lt;/del&gt;— M.AUTH-T55 — MS-28 ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== F7.3 HTTP surface &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;proven &lt;/ins&gt;— M.AUTH-T55 — MS-28 ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;Task: &amp;lt;code&amp;gt;/_ma-auth&amp;lt;/code&amp;gt; endpoint tests&amp;lt;/strong&amp;gt; — M.AUTH-T8. Given an off-site returnUrl or no antiforgery token, then it is refused.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;Task: &amp;lt;code&amp;gt;/_ma-auth&amp;lt;/code&amp;gt; endpoint tests&amp;lt;/strong&amp;gt; — M.AUTH-T8. Given an off-site returnUrl or no antiforgery token, then it is refused.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l120&quot;&gt;Line 120:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 122:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;Task: Dev bypass gate tests&amp;lt;/strong&amp;gt; — M.AUTH-T10. Given a non-loopback IP or a non-Development host, then nothing happens.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;Task: Dev bypass gate tests&amp;lt;/strong&amp;gt; — M.AUTH-T10. Given a non-loopback IP or a non-Development host, then nothing happens.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== E8. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Host integration and docs &lt;/del&gt;— M.AUTH-T52 — MS-28 ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== E8. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Every host signs in safely &lt;/ins&gt;— M.AUTH-T52 — MS-28 ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== F8.1 Invitation accept gate — M.AUTH-T56 — MS-28 ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== F8.1 Invitation accept gate — M.AUTH-T56 — MS-28 ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l126&quot;&gt;Line 126:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 128:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;Task: Host can refuse an acceptance&amp;lt;/strong&amp;gt; — M.AUTH-T38. As a Host (Gadfly), I refuse an acceptance with my own message when a plan has no free seat. Given the gate refuses, then the invitee sees that message and the invitation stays open.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;Task: Host can refuse an acceptance&amp;lt;/strong&amp;gt; — M.AUTH-T38. As a Host (Gadfly), I refuse an acceptance with my own message when a plan has no free seat. Given the gate refuses, then the invitee sees that message and the invitation stays open.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== F8.2 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Current documentation &lt;/del&gt;— M.AUTH-T57 — MS-28 ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== F8.2 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Docs match the library &lt;/ins&gt;— M.AUTH-T57 — MS-28 ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;Task: Docs match the code&amp;lt;/strong&amp;gt; — M.AUTH-T17. Given the docs, then &amp;lt;code&amp;gt;docs/overview.md&amp;lt;/code&amp;gt; and BIBLE §6/§7 describe 9.x, the test coverage and the consumers.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;Task: Docs match the code&amp;lt;/strong&amp;gt; — M.AUTH-T17. Given the docs, then &amp;lt;code&amp;gt;docs/overview.md&amp;lt;/code&amp;gt; and BIBLE §6/§7 describe 9.x, the test coverage and the consumers.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l145&quot;&gt;Line 145:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 147:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;S9.1.1 Startup filter checks order&amp;lt;/strong&amp;gt; — M.AUTH-T109. As a Host, a misordered pipeline throws at startup naming the fix. Given &amp;lt;code&amp;gt;UseMindAtticAuthentication&amp;lt;/code&amp;gt; after the endpoints, when the host starts, then it throws.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;S9.1.1 Startup filter checks order&amp;lt;/strong&amp;gt; — M.AUTH-T109. As a Host, a misordered pipeline throws at startup naming the fix. Given &amp;lt;code&amp;gt;UseMindAtticAuthentication&amp;lt;/code&amp;gt; after the endpoints, when the host starts, then it throws.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== F9.2 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Provisioning CLI &lt;/del&gt;— M.AUTH-T110 — MS-134 ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== F9.2 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Secrets provisioned into Vault &lt;/ins&gt;— M.AUTH-T110 — MS-134 ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;S9.2.1 Provision auth secrets&amp;lt;/strong&amp;gt; — M.AUTH-T111. As an Op, I create the pepper, KEK and reset key with a CSPRNG into the Vault ([[MindAttic.Authentication/rfc/0001-provisioning-cli|RFC 0001]]). Given existing secrets, then it refuses without &amp;lt;code&amp;gt;--rotate&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;S9.2.1 Provision auth secrets&amp;lt;/strong&amp;gt; — M.AUTH-T111. As an Op, I create the pepper, KEK and reset key with a CSPRNG into the Vault ([[MindAttic.Authentication/rfc/0001-provisioning-cli|RFC 0001]]). Given existing secrets, then it refuses without &amp;lt;code&amp;gt;--rotate&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l178&quot;&gt;Line 178:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 180:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 6. Interfaces and dependencies ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 6. Interfaces and dependencies ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;strong&amp;gt;Platform it relies on (docs/ECOSYSTEM.md):&amp;lt;/strong&amp;gt; MindAttic.Vault (auth secrets: pepper, KEK and reset-signing key are provisioned into and read from Vault), MindAttic.Agency, MindAttic.Tickets. Consumers: IdeaCms, Tutor, Gadfly and every app with users.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;Uses:&amp;lt;/strong&amp;gt; MindAttic.Vault (secrets and the settings tab), Konscious Argon2, BCrypt (legacy hashes only), EF Core, SMTP through the Vault &amp;lt;code&amp;gt;Notifications&amp;lt;/code&amp;gt; email settings.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;strong&amp;gt;Uses:&amp;lt;/strong&amp;gt; MindAttic.Vault (secrets and the settings tab), Konscious Argon2, BCrypt (legacy hashes only), EF Core, SMTP through the Vault &amp;lt;code&amp;gt;Notifications&amp;lt;/code&amp;gt; email settings.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l199&quot;&gt;Line 199:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 203:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| Specification written from the BIBLE, SECURITY_SPEC, USER_STORIES, RFC 0001, code and ticket history. The middleware-order filter, provisioning CLI and signed pack (the USER_STORIES priority backlog) became MS-134; WebAuthn (US-D4) became MS-135, the finished product.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| Specification written from the BIBLE, SECURITY_SPEC, USER_STORIES, RFC 0001, code and ticket history. The middleware-order filter, provisioning CLI and signed pack (the USER_STORIES priority backlog) became MS-134; WebAuthn (US-D4) became MS-135, the finished product.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| MAT-T383&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| MAT-T383&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| 2026-11-30&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| MAT-T462 source-to-sea pass: 6 renamed, 0 buckets, 14 requires added, 1 platform re-point (provisioning named as Vault-backed)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| MAT-T466&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Docs Sync</name></author>
	</entry>
	<entry>
		<id>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Authentication/SPEC&amp;diff=1711&amp;oldid=prev</id>
		<title>Docs Sync: md2wiki: sync from MindAttic.Docs</title>
		<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=MindAttic.Authentication/SPEC&amp;diff=1711&amp;oldid=prev"/>
		<updated>2026-11-30T12:51:55Z</updated>

		<summary type="html">&lt;p&gt;md2wiki: sync from MindAttic.Docs&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= MindAttic.Authentication — Product specification =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
The complete product, written down before it is built (owner, 2026-11-30, MAT-T360). Every epic, feature and story the finished product will have is listed here, built or not. The ticket tree mirrors this file one to one: every ID below is a ticket. Nothing gets built unless it is here, and anything taken out of here is closed wont-do in the tree. [[MindAttic.Authentication/RELEASE|&amp;lt;code&amp;gt;RELEASE.md&amp;lt;/code&amp;gt;]] says which part of this the current milestone delivers.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 1. Product definition ==&lt;br /&gt;
&lt;br /&gt;
MindAttic.Authentication is one hardened, Vault-backed sign-in engine shipped as a Razor Class Library (NuGet), so every MindAttic ASP.NET Core app (Gadfly, IdeaCms, IdiotProof, Prose, ThinkTank, Tutor) authenticates identically: Argon2id passwords with a Vault pepper, uniform responses with no enumeration oracle, TOTP MFA that cannot be bypassed, password change and reset, sessions that revoke promptly, opt-in organizations and invitations, and a full audit trail. It is built to OWASP ASVS L2 and NIST SP 800-63B AAL2 under a threat model that assumes a full database breach ([[MindAttic.Authentication/SECURITY_SPEC|SECURITY_SPEC.md]], [[MindAttic.Authentication/BIBLE|BIBLE.md]]). The finished product (11.0) adds startup-asserted wiring, an operator provisioning CLI, a signed reproducible package and phishing-resistant passkeys.&lt;br /&gt;
&lt;br /&gt;
== 2. Scope boundary ==&lt;br /&gt;
&lt;br /&gt;
=== 2.1 In the product ===&lt;br /&gt;
&lt;br /&gt;
* Password storage: Argon2id + pepper, PHC strings, rehash on login, fail-closed crypto floors.&lt;br /&gt;
* Secrets: read fail-closed from &amp;lt;code&amp;gt;MindAttic:Vault:Security:*&amp;lt;/code&amp;gt;; provisioned by an operator CLI, never by the app.&lt;br /&gt;
* Brute-force defence: persistent backoff per account and IP, timing floor, normalized keys, hashed audit.&lt;br /&gt;
* MFA: TOTP with replay protection, single-use recovery codes, forced enrollment and step-up, then passkeys.&lt;br /&gt;
* Password lifecycle: NIST policy, change, enumeration-safe email reset, security alert emails.&lt;br /&gt;
* Host integration: one-call wiring, &amp;lt;code&amp;gt;/_ma-auth&amp;lt;/code&amp;gt; endpoints, presentation-only components, session revalidation, bootstrap admin, user administration, settings on the Vault tab, Debug-only dev bypass.&lt;br /&gt;
* Organizations, memberships and invitations (opt-in), with a host hook that can refuse an acceptance.&lt;br /&gt;
* Release hygiene: whole-number majors in &amp;lt;code&amp;gt;C:\LocalNuGet&amp;lt;/code&amp;gt;, docs current, consumers ticketed per release.&lt;br /&gt;
&lt;br /&gt;
=== 2.2 Never in the product ===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;Cross-app SSO or an identity provider.&amp;lt;/strong&amp;gt; Each app is its own trust boundary (M.AUTH-LAW-6).&lt;br /&gt;
* &amp;lt;strong&amp;gt;A secrets store.&amp;lt;/strong&amp;gt; The library reads secrets; the Vault and the provisioning CLI hold and create them.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Moving the crypto primitives into MindAttic.Cryptography.&amp;lt;/strong&amp;gt; Tried and reverted; they stay here.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Hard deletes.&amp;lt;/strong&amp;gt; Accounts are disabled, never deleted (HOUSE-LAW-2).&lt;br /&gt;
* &amp;lt;strong&amp;gt;Upgrading consumers from this repo.&amp;lt;/strong&amp;gt; Each consumer moves to a new major under its own ticket in its own repo.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Open-ended sweeps&amp;lt;/strong&amp;gt; (&amp;quot;run the full suite and fix everything&amp;quot;, &amp;quot;/simplify&amp;quot;, &amp;quot;exhaustive bughunt&amp;quot;); real bugs are filed one at a time.&lt;br /&gt;
* &amp;lt;strong&amp;gt;SMS one-time codes, social login, third-party credential validation.&amp;lt;/strong&amp;gt; SMS is below AAL2 and the docs ask for none of them.&lt;br /&gt;
&lt;br /&gt;
== 3. Users and roles ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;U&amp;lt;/strong&amp;gt;: an end user of a consuming app; signs in, enrolls MFA, changes or resets a password, manages passkeys.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Admin&amp;lt;/strong&amp;gt;: an elevated operator inside a consuming app; manages users, organizations and invitations.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Host&amp;lt;/strong&amp;gt;: the developer of a consuming app; wires the library in, brands the components, supplies hooks.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Op&amp;lt;/strong&amp;gt;: the owner as secrets and deployment operator; provisions the Vault secrets, publishes the package.&lt;br /&gt;
&lt;br /&gt;
== 4. Requirements ==&lt;br /&gt;
&lt;br /&gt;
Status is &amp;lt;strong&amp;gt;built&amp;lt;/strong&amp;gt; (closed ticket, with evidence) or &amp;lt;strong&amp;gt;MS-n&amp;lt;/strong&amp;gt;: the milestone in §7 that delivers it. Every unbuilt story is approved and prioritised in build order; the planner splits a story into tasks when the queue reaches it.&lt;br /&gt;
&lt;br /&gt;
=== E1. Password storage and secrets — M.AUTH-T70 — built ===&lt;br /&gt;
&lt;br /&gt;
==== F1.1 Hashing and secrets — M.AUTH-T71 — built ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S1.1.1 Argon2id with pepper&amp;lt;/strong&amp;gt; — M.AUTH-T72 — built. As a Host, passwords are stored as Argon2id plus a Vault pepper so a DB-only breach yields nothing crackable. Evidence: &amp;lt;code&amp;gt;Argon2idPasswordHasherTests&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;PhcArgon2Tests&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S1.1.2 Self-describing rehashable hashes&amp;lt;/strong&amp;gt; — M.AUTH-T73 — built. Evidence: &amp;lt;code&amp;gt;PhcArgon2Tests&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;UserStore.ApplyRehash&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S1.1.3 Fail-closed crypto floors&amp;lt;/strong&amp;gt; — M.AUTH-T74 — built. Evidence: &amp;lt;code&amp;gt;AuthCryptoOptionsTests&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S1.1.4 Fail-closed secrets&amp;lt;/strong&amp;gt; — M.AUTH-T75 — built. Evidence: &amp;lt;code&amp;gt;ConfigAuthSecretsTests&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ConfigAuthSecretsLinuxNamingTests&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== E2. Brute force and enumeration defence — M.AUTH-T76 — built ===&lt;br /&gt;
&lt;br /&gt;
==== F2.1 Lockout, timing and audit — M.AUTH-T77 — built ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S2.1.1 Persistent exponential backoff&amp;lt;/strong&amp;gt; — M.AUTH-T78 — built. Evidence: &amp;lt;code&amp;gt;AccountLockoutServiceTests&amp;lt;/code&amp;gt;; b540f45, 27c777a, 029aebf.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S2.1.2 No enumeration oracle&amp;lt;/strong&amp;gt; — M.AUTH-T79 — built. Evidence: &amp;lt;code&amp;gt;TimingFloorTests&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S2.1.3 Normalized account keys&amp;lt;/strong&amp;gt; — M.AUTH-T80 — built. Evidence: &amp;lt;code&amp;gt;AuthKeysTests&amp;lt;/code&amp;gt;; dc8ee71.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S2.1.4 Hashed audit trail&amp;lt;/strong&amp;gt; — M.AUTH-T81 — built. Evidence: &amp;lt;code&amp;gt;AuthAuditWriterTests&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== E3. Two-step verification — M.AUTH-T82 — built ===&lt;br /&gt;
&lt;br /&gt;
==== F3.1 TOTP and recovery codes — M.AUTH-T83 — built ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S3.1.1 TOTP validation&amp;lt;/strong&amp;gt; — M.AUTH-T84 — built. Evidence: &amp;lt;code&amp;gt;TotpServiceTests&amp;lt;/code&amp;gt;; 6c65463.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S3.1.2 MFA enrollment&amp;lt;/strong&amp;gt; — M.AUTH-T85 — built (its tests land in MS-28: M.AUTH-T4).&lt;br /&gt;
* &amp;lt;strong&amp;gt;S3.1.3 QR enrollment&amp;lt;/strong&amp;gt; — M.AUTH-T58 — built. Evidence: f86c0f3.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S3.1.4 Recovery codes redeem once&amp;lt;/strong&amp;gt; — M.AUTH-T86 — built. Evidence: 8850db8, 56e0bcd.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S3.1.5 MFA required for admins&amp;lt;/strong&amp;gt; — M.AUTH-T87 — built (its tests land in MS-28: M.AUTH-T9).&lt;br /&gt;
&lt;br /&gt;
=== E4. Password lifecycle — M.AUTH-T88 — built ===&lt;br /&gt;
&lt;br /&gt;
==== F4.1 Policy, change and reset — M.AUTH-T89 — built ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S4.1.1 NIST password policy&amp;lt;/strong&amp;gt; — M.AUTH-T90 — built. Evidence: &amp;lt;code&amp;gt;PasswordPolicyTests&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S4.1.2 Change password&amp;lt;/strong&amp;gt; — M.AUTH-T91 — built (its tests land in MS-28: M.AUTH-T5).&lt;br /&gt;
* &amp;lt;strong&amp;gt;S4.1.3 Enumeration-safe reset&amp;lt;/strong&amp;gt; — M.AUTH-T92 — built. Evidence: &amp;lt;code&amp;gt;PasswordResetServiceTests&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S4.1.4 Reset email delivery&amp;lt;/strong&amp;gt; — M.AUTH-T93 — built. Evidence: &amp;lt;code&amp;gt;SmtpAuthEmailSenderTests&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S4.1.5 Security alert emails&amp;lt;/strong&amp;gt; — M.AUTH-T94 — built. Evidence: &amp;lt;code&amp;gt;SecurityAlertTests&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== E5. Host integration — M.AUTH-T95 — built ===&lt;br /&gt;
&lt;br /&gt;
==== F5.1 Wiring, endpoints and administration — M.AUTH-T96 — built ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S5.1.1 Login with MFA step-up&amp;lt;/strong&amp;gt; — M.AUTH-T97 — built. Evidence: &amp;lt;code&amp;gt;AuthenticationServiceTests&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;AuthenticationServiceConfirmMfaTests&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S5.1.2 One-call host wiring&amp;lt;/strong&amp;gt; — M.AUTH-T98 — built (its tests land in MS-28: M.AUTH-T8, T9).&lt;br /&gt;
* &amp;lt;strong&amp;gt;S5.1.3 Revoked sessions end&amp;lt;/strong&amp;gt; — M.AUTH-T99 — built (its tests land in MS-28: M.AUTH-T6, T7).&lt;br /&gt;
* &amp;lt;strong&amp;gt;S5.1.4 First-run admin bootstrap&amp;lt;/strong&amp;gt; — M.AUTH-T100 — built (its tests land in MS-28: M.AUTH-T11).&lt;br /&gt;
* &amp;lt;strong&amp;gt;S5.1.5 User administration&amp;lt;/strong&amp;gt; — M.AUTH-T101 — built. Evidence: &amp;lt;code&amp;gt;UserAdminServiceTests&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S5.1.6 Open-redirect-safe return URLs&amp;lt;/strong&amp;gt; — M.AUTH-T102 — built. Evidence: &amp;lt;code&amp;gt;UrlSafetyTests&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S5.1.7 Settings on the Vault tab&amp;lt;/strong&amp;gt; — M.AUTH-T103 — built. Evidence: 2b87874, &amp;lt;code&amp;gt;LampAuthSettingsTests&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S5.1.8 Dev-only sign-in bypass&amp;lt;/strong&amp;gt; — M.AUTH-T104 — built (its tests land in MS-28: M.AUTH-T10).&lt;br /&gt;
&lt;br /&gt;
=== E6. Organizations and invitations — M.AUTH-T105 — built ===&lt;br /&gt;
&lt;br /&gt;
==== F6.1 Memberships and invitations — M.AUTH-T106 — built ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S6.1.1 Organizations and memberships&amp;lt;/strong&amp;gt; — M.AUTH-T34 — built. Evidence: d352e6e (8.0.0), &amp;lt;code&amp;gt;OrganizationServiceTests&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S6.1.2 Email invitations&amp;lt;/strong&amp;gt; — M.AUTH-T35 — built. Evidence: bd39fe2 (9.0.0), &amp;lt;code&amp;gt;InvitationServiceTests&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== E7. Security invariants under test — M.AUTH-T51 — MS-28 ===&lt;br /&gt;
&lt;br /&gt;
==== F7.1 Account service tests — M.AUTH-T53 — MS-28 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;Task: MFA enrollment tests&amp;lt;/strong&amp;gt; — M.AUTH-T4. Given an expired or tampered pending secret or a bad code, when ConfirmAsync runs, then MFA stays disabled.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Task: Password change tests&amp;lt;/strong&amp;gt; — M.AUTH-T5. Given a wrong current password, then nothing changes and it is audited; given success, then history is written and the stamp rotates.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Task: Bootstrap and user-store tests&amp;lt;/strong&amp;gt; — M.AUTH-T11. Given any existing user, then seeding is a no-op; given no bootstrap token, then it throws.&lt;br /&gt;
&lt;br /&gt;
==== F7.2 Session revocation tests — M.AUTH-T54 — MS-28 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;Task: Cookie validation tests&amp;lt;/strong&amp;gt; — M.AUTH-T6. Given a mismatched stamp or idle timeout, then the cookie is rejected.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Task: Blazor revalidation tests&amp;lt;/strong&amp;gt; — M.AUTH-T7. Given a revoked or expired session, then the circuit loses access.&lt;br /&gt;
&lt;br /&gt;
==== F7.3 HTTP surface tests — M.AUTH-T55 — MS-28 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;Task: &amp;lt;code&amp;gt;/_ma-auth&amp;lt;/code&amp;gt; endpoint tests&amp;lt;/strong&amp;gt; — M.AUTH-T8. Given an off-site returnUrl or no antiforgery token, then it is refused.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Task: Forced-step and CSP middleware tests&amp;lt;/strong&amp;gt; — M.AUTH-T9. Given MustEnrollMfa, then the user is redirected; excluded paths never are.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Task: Dev bypass gate tests&amp;lt;/strong&amp;gt; — M.AUTH-T10. Given a non-loopback IP or a non-Development host, then nothing happens.&lt;br /&gt;
&lt;br /&gt;
=== E8. Host integration and docs — M.AUTH-T52 — MS-28 ===&lt;br /&gt;
&lt;br /&gt;
==== F8.1 Invitation accept gate — M.AUTH-T56 — MS-28 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;Task: Host can refuse an acceptance&amp;lt;/strong&amp;gt; — M.AUTH-T38. As a Host (Gadfly), I refuse an acceptance with my own message when a plan has no free seat. Given the gate refuses, then the invitee sees that message and the invitation stays open.&lt;br /&gt;
&lt;br /&gt;
==== F8.2 Current documentation — M.AUTH-T57 — MS-28 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;Task: Docs match the code&amp;lt;/strong&amp;gt; — M.AUTH-T17. Given the docs, then &amp;lt;code&amp;gt;docs/overview.md&amp;lt;/code&amp;gt; and BIBLE §6/§7 describe 9.x, the test coverage and the consumers.&lt;br /&gt;
&lt;br /&gt;
==== F8.3 MFA setup works in every host — M.AUTH-T66 — MS-28 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;Task: One plain code field&amp;lt;/strong&amp;gt; — M.AUTH-T63. As a U, I type my authenticator code into one field that works in every host. Given a host with no scoped CSS and Chrome autofill, then the code is entered and confirmed.&lt;br /&gt;
&lt;br /&gt;
==== F8.4 Polish and release 9.x — M.AUTH-T67 — MS-28 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;Task: Pack the proven release&amp;lt;/strong&amp;gt; — M.AUTH-T68. Given the milestone&amp;#039;s tasks are done, then the package is in &amp;lt;code&amp;gt;C:\LocalNuGet&amp;lt;/code&amp;gt; and the docs name its version.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Task: Owner sign-off, no partial rows&amp;lt;/strong&amp;gt; — M.AUTH-T69 (owner hands-on).&lt;br /&gt;
&lt;br /&gt;
=== E9. Fail-closed wiring and provisioning — M.AUTH-T107 — MS-134 ===&lt;br /&gt;
&lt;br /&gt;
==== F9.1 Middleware order asserted — M.AUTH-T108 — MS-134 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S9.1.1 Startup filter checks order&amp;lt;/strong&amp;gt; — M.AUTH-T109. As a Host, a misordered pipeline throws at startup naming the fix. Given &amp;lt;code&amp;gt;UseMindAtticAuthentication&amp;lt;/code&amp;gt; after the endpoints, when the host starts, then it throws.&lt;br /&gt;
&lt;br /&gt;
==== F9.2 Provisioning CLI — M.AUTH-T110 — MS-134 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S9.2.1 Provision auth secrets&amp;lt;/strong&amp;gt; — M.AUTH-T111. As an Op, I create the pepper, KEK and reset key with a CSPRNG into the Vault ([[MindAttic.Authentication/rfc/0001-provisioning-cli|RFC 0001]]). Given existing secrets, then it refuses without &amp;lt;code&amp;gt;--rotate&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S9.2.2 Rotate the pepper&amp;lt;/strong&amp;gt; — M.AUTH-T112. Given users hashed under pepper v1, when I rotate to v2, then they still sign in and rehash to v2.&lt;br /&gt;
&lt;br /&gt;
==== F9.3 Signed reproducible package — M.AUTH-T113 — MS-134 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S9.3.1 Deterministic signed pack&amp;lt;/strong&amp;gt; — M.AUTH-T114. Given two packs of one commit, then they are byte-identical and the signature verifies.&lt;br /&gt;
&lt;br /&gt;
==== F9.4 Polish and release 10.0 — M.AUTH-T115 — MS-134 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S9.4.1 Release 10.0&amp;lt;/strong&amp;gt; — M.AUTH-T116. Given the epic is done, then 10.0 is in &amp;lt;code&amp;gt;C:\LocalNuGet&amp;lt;/code&amp;gt;, docs are current, each consumer repo has an upgrade ticket, and the owner signs off.&lt;br /&gt;
&lt;br /&gt;
=== E10. Phishing-resistant MFA — M.AUTH-T117 — MS-135 ===&lt;br /&gt;
&lt;br /&gt;
==== F10.1 Passkeys as a second factor — M.AUTH-T118 — MS-135 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S10.1.1 Register a passkey&amp;lt;/strong&amp;gt; — M.AUTH-T119. As a U, I register a WebAuthn passkey after re-entering my password. Given the ceremony completes, then only the public key is stored, audited and alerted.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S10.1.2 Sign in with a passkey&amp;lt;/strong&amp;gt; — M.AUTH-T120. Given a passkey signed on the right origin, then the session gets &amp;lt;code&amp;gt;amr=mfa&amp;lt;/code&amp;gt;; on another origin (an AITM relay), then it fails and is audited.&lt;br /&gt;
* &amp;lt;strong&amp;gt;S10.1.3 Manage passkeys&amp;lt;/strong&amp;gt; — M.AUTH-T121. Given my last factor, when I remove it, then it is refused; &amp;lt;code&amp;gt;RequirePasskeyForAdmin&amp;lt;/code&amp;gt; forces admins to enroll one.&lt;br /&gt;
&lt;br /&gt;
==== F10.2 Polish and release 11.0 — M.AUTH-T122 — MS-135 ====&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;S10.2.1 Release 11.0&amp;lt;/strong&amp;gt; — M.AUTH-T123. Given the epic is done, then 11.0 is published, the AITM residual is marked closed in SECURITY_SPEC, consumers are ticketed, and the owner signs in with a passkey.&lt;br /&gt;
&lt;br /&gt;
== 5. Non-functional requirements ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;Platform:&amp;lt;/strong&amp;gt; net10.0 Razor Class Library; hosts are ASP.NET Core with EF Core owning the &amp;lt;code&amp;gt;auth&amp;lt;/code&amp;gt; schema.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Security bar:&amp;lt;/strong&amp;gt; OWASP ASVS L2 (L3 where feasible), NIST SP 800-63B AAL2; uniform response and timing on every outcome; fail-closed on missing secrets, weak crypto settings and missing production Data Protection keys.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Data:&amp;lt;/strong&amp;gt; no raw password, secret, recovery code or reset token is ever stored or logged; audit account keys are hashed; accounts are disabled, not deleted.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Versioning:&amp;lt;/strong&amp;gt; whole-number majors only ([[MindAttic.Authentication/VERSIONING|VERSIONING.md]]); a release is done when every consumer references it and builds (M.AUTH-LAW-7), through their own tickets.&lt;br /&gt;
&lt;br /&gt;
== 6. Interfaces and dependencies ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;Uses:&amp;lt;/strong&amp;gt; MindAttic.Vault (secrets and the settings tab), Konscious Argon2, BCrypt (legacy hashes only), EF Core, SMTP through the Vault &amp;lt;code&amp;gt;Notifications&amp;lt;/code&amp;gt; email settings.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Used by:&amp;lt;/strong&amp;gt; Gadfly (organizations, invitations, accept gate), IdeaCms, IdiotProof, Prose, ThinkTank, Tutor.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Contract:&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;AddMindAtticAuthentication&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;UseMindAtticAuthentication&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;MapMindAtticAuthEndpoints&amp;lt;/code&amp;gt;, the &amp;lt;code&amp;gt;IAuthDataContext&amp;lt;/code&amp;gt; schema, the &amp;lt;code&amp;gt;Ma*&amp;lt;/code&amp;gt; components&amp;#039; typed parameters, &amp;lt;code&amp;gt;IAuthEmailSender&amp;lt;/code&amp;gt;, and (MS-28) the invitation accept gate. See [[MindAttic.Authentication/API|API.md]], [[MindAttic.Authentication/INTEGRATION|INTEGRATION.md]], [[MindAttic.Authentication/CONFIGURATION|CONFIGURATION.md]].&lt;br /&gt;
&lt;br /&gt;
== 7. Release sequence ==&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;strong&amp;gt;MS-28: Authentication proven and stable&amp;lt;/strong&amp;gt; (active). Epics E7 M.AUTH-T51 and E8 M.AUTH-T52: every built path is test-proven, the accept gate exists, the MFA page works in every host, docs are current; ends with F8.4.&lt;br /&gt;
# &amp;lt;strong&amp;gt;MS-134: Authentication 10, fail-closed wiring and provisioning.&amp;lt;/strong&amp;gt; Epic E9 M.AUTH-T107; ends with F9.4.&lt;br /&gt;
# &amp;lt;strong&amp;gt;MS-135: Authentication 11, passkeys&amp;lt;/strong&amp;gt; (the finished product). Epic E10 M.AUTH-T117; ends with F10.2.&lt;br /&gt;
&lt;br /&gt;
== 8. Change log ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Date&lt;br /&gt;
! Change to scope&lt;br /&gt;
! Ticket&lt;br /&gt;
|-&lt;br /&gt;
| 2026-11-30&lt;br /&gt;
| Specification written from the BIBLE, SECURITY_SPEC, USER_STORIES, RFC 0001, code and ticket history. The middleware-order filter, provisioning CLI and signed pack (the USER_STORIES priority backlog) became MS-134; WebAuthn (US-D4) became MS-135, the finished product.&lt;br /&gt;
| MAT-T383&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;md2wiki-crumb&amp;quot;&amp;gt;Part of [[MindAttic.Authentication]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;md2wiki-source&amp;quot;&amp;gt;From [https://github.com/mindattic/MindAttic.Authentication/blob/main/docs/SPEC.md MindAttic.Authentication/docs/SPEC.md] via MindAttic.Docs; synced automatically, so edit the repo, not this page.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:MindAttic.Authentication]]&lt;/div&gt;</summary>
		<author><name>Docs Sync</name></author>
	</entry>
</feed>