<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:fh="http://purl.org/syndication/history/1.0" xmlns:nimpress="https://github.com/nimling/nimpress">
  <channel>
    <title>Changelog</title>
    <link>https://developer.samna.io/solutions/auth/server/changelog</link>
    <description>Samna developer documentation</description>
    <atom:link href="https://developer.samna.io/solutions/auth/server/changelog/rss.xml" rel="self" type="application/rss+xml"/>
    <lastBuildDate>Sun, 29 Nov 2026 00:00:00 GMT</lastBuildDate>
    <ttl>14400</ttl>
    <sy:updatePeriod>weekly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <nimpress:releaseCadence>864000</nimpress:releaseCadence>
    <nimpress:latestVersion>1.0.0-alpha0379</nimpress:latestVersion>
    <nimpress:releaseCount>4</nimpress:releaseCount>
    <item>
      <title>v1.0.0-alpha0379 Sign in errors on the login page</title>
      <link>https://developer.samna.io/solutions/auth/server/changelog#v1.0.0-alpha0379</link>
      <guid isPermaLink="true">https://developer.samna.io/solutions/auth/server/changelog#v1.0.0-alpha0379</guid>
      <pubDate>Sun, 29 Nov 2026 00:00:00 GMT</pubDate>
      <description>A browser that lands on a failed sign in step now reaches the login page with the error shown, instead of a raw JSON error.</description>
      <content:encoded><![CDATA[<p>A sign in that ends in an OAuth error no longer leaves the person on a page of raw JSON.</p>
<h2 id="errors-in-the-browser" tabindex="-1"><a class="header-anchor" href="#errors-in-the-browser"><span>Errors in the browser</span></a></h2>
<p>When a person's browser lands on a sign in step that ends in an OAuth error, for example an expired or refused authorization, Samna Auth now sends the browser to its login page. The error and its description are carried in the address, so the login page can tell the person what went wrong.</p>
<h2 id="apps-and-the-command-line" tabindex="-1"><a class="header-anchor" href="#apps-and-the-command-line"><span>Apps and the command line</span></a></h2>
<p>Calls from apps and from the command line are unchanged: they still receive the OAuth error as JSON.</p>
]]></content:encoded>
    </item>
    <item>
      <title>v1.0.0-alpha0316 Cost on the ledger</title>
      <link>https://developer.samna.io/solutions/auth/server/changelog#v1.0.0-alpha0316</link>
      <guid isPermaLink="true">https://developer.samna.io/solutions/auth/server/changelog#v1.0.0-alpha0316</guid>
      <pubDate>Fri, 30 Oct 2026 00:00:00 GMT</pubDate>
      <description>Module cost is recorded on the ledger every hour and the modules page reads it back per month for every module.</description>
      <content:encoded><![CDATA[<p>Samna Auth moves onto the cost ledger of the middleware release <code>2.0.0-alpha0110</code>: a cost row covers a window, says what kind of cost it is, carries the app's own reference so a rerun replaces rather than doubles, and may carry a schema that checks its evidence and says how it is presented and accumulated.</p>
<h2 id="cost-reporting" tabindex="-1"><a class="header-anchor" href="#cost-reporting"><span>Cost reporting</span></a></h2>
<p>The hourly job writes one row per app and built in module per full hour through the middleware's input, the row form: kind <code>usage</code>, the hour as <code>period_start</code> and <code>period_end</code>, the hour in UTC as the <code>ref</code>, the count as the quantity with its unit, the price per unit and the currency from the app's <code>cost</code> setting for that module, and the default cost schema with its evidence in <code>detail</code>: the app as the subject, the table and the ids of what was counted under <code>source.refs</code>, or a note naming the count it ran when there were more than a hundred. A module with no currency in the app's settings writes no row.</p>
<h2 id="the-cost-route" tabindex="-1"><a class="header-anchor" href="#the-cost-route"><span>The cost route</span></a></h2>
<p><code>GET /api/app/{app}/cost</code> takes <code>module</code>, <code>from</code>, <code>to</code>, <code>granularity</code> of <code>hour</code>, <code>day</code> or <code>month</code>, <code>status</code> of <code>estimated</code>, <code>settled</code> or <code>invoiced</code>, and <code>subject_type</code> with <code>subject_id</code> read from the evidence. It answers one bucket per module, kind, schema id, group key, unit and currency with the quantity, the amount, the hours of window folded and the number of rows accumulated. Any module slug is accepted, the app's own included.</p>
<h2 id="the-modules-page" tabindex="-1"><a class="header-anchor" href="#the-modules-page"><span>The modules page</span></a></h2>
<p>Each app card keeps its spark line of daily amount over thirty days and the month total, and lists its buckets below: one table per schema, titled and labelled by the presentation rule of that schema id, with the module, the kind, the group when the schema groups, the quantity in its unit, the amount and the row count. The rule for <code>https://samna.io/schema/cost/1</code> reads the hints of the shared cost schema; a bucket without a schema is shown as plain cost over the period. The built in module cards list the same buckets per app.</p>
]]></content:encoded>
    </item>
    <item>
      <title>v1.0.0-alpha0314 The web on the Mar shell</title>
      <link>https://developer.samna.io/solutions/auth/server/changelog#v1.0.0-alpha0314</link>
      <guid isPermaLink="true">https://developer.samna.io/solutions/auth/server/changelog#v1.0.0-alpha0314</guid>
      <pubDate>Fri, 30 Oct 2026 00:00:00 GMT</pubDate>
      <description>The signed in web moves onto the Mar app shell with one user page and every module priced on its own page.</description>
      <content:encoded><![CDATA[<p>The signed in web is redesigned on the Mar components: one app shell, one navigation, one user page, and a modules page that shows what every app and every built in module costs.</p>
<h2 id="navigation" tabindex="-1"><a class="header-anchor" href="#navigation"><span>Navigation</span></a></h2>
<p>The sidebar is the Mar app shell. Above the breakpoint it is the sidebar with the groups Directory (Organizations, Locations, Files, Users, Claims, Secrets, Clients), Management (Sessions, Merge accounts, Codes), Apps (Apps, Modules, Providers), People (People, Relations) and Monitoring (Uptime, Audit); below it the floating menu button, the same destinations as a sheet, and a bottom bar with Users, Apps, Organizations and Uptime. The footer holds Collapse and the signed in person, with a bell that opens the audit log. Help, the language and the theme moved from the sidebar to the person's own page. There is no Profile page, no Contacts section and no Shortcuts page: the section is People, and clicking yourself opens your user.</p>
<h2 id="the-user-page" tabindex="-1"><a class="header-anchor" href="#the-user-page"><span>The user page</span></a></h2>
<p>Every person has one page, reached by user id. Your own page holds your details edited in place, the apps you can connect, the language, the theme and a link to the help, and a public profile card: a switch, a chooser per field that shows the value each field would reveal, a preview of the page as others see it, a QR code and a button that opens it.</p>
<h2 id="the-public-profile-page" tabindex="-1"><a class="header-anchor" href="#the-public-profile-page"><span>The public profile page</span></a></h2>
<p>The public profile at <code>/u/{user_id}</code> is a page the system app serves from a Go template, the same way an app serves its login and redirect pages. It renders only the fields the person chose to show, with the values apps have written to the profile, and a page that is not public says so. The template is stored on the system app as the page kind <code>profile</code> through the page commands of the <code>sauth</code> cli, and the built in page serves until one is stored.</p>
<h2 id="modules-and-cost" tabindex="-1"><a class="header-anchor" href="#modules-and-cost"><span>Modules and cost</span></a></h2>
<p>The modules page shows one card per app in the app's own design, with its logo and colours, a spark line of its cost by day over the last thirty days and the total of the current month in its currency. Below it the built in modules Samna Auth runs for the apps, uptime, subscriptions, codes and assets, each with the cost Samna Auth reports and the apps that used it as chips in their colours.</p>
<h2 id="cost-reporting" tabindex="-1"><a class="header-anchor" href="#cost-reporting"><span>Cost reporting</span></a></h2>
<p>Samna Auth reports its own cost once an hour: for every app and every built in module one row per hour holding what was counted, monitor checks run, subscription items mailed, codes redeemed and assets served, and the amount from the price per unit the app's settings hold for that module, zero until a price is set. An app's cost is read over <code>GET /api/app/{app}/cost</code> with an optional module, a period and a granularity of hour or day, for a reader with read on the app. The settings take a <code>cost</code> object keyed by module with <code>price_per_unit</code> and <code>currency</code>.</p>
<h2 id="pages" tabindex="-1"><a class="header-anchor" href="#pages"><span>Pages</span></a></h2>
<p>Every list is a Mar table that becomes cards on a phone. Every create and edit page is a Mar form with its labels above the fields, access as the Mar access selector, and Cancel, Save and Delete as Mar buttons. The uptime page draws each monitor as the Mar uptime bar and its incidents as a timeline. The help page uses pill tabs. The page designer uses pill tabs, dropdowns and switches for its controls.</p>
]]></content:encoded>
    </item>
    <item>
      <title>v1.0.0-alpha0313 Looping sign in stopped</title>
      <link>https://developer.samna.io/solutions/auth/server/changelog#v1.0.0-alpha0313</link>
      <guid isPermaLink="true">https://developer.samna.io/solutions/auth/server/changelog#v1.0.0-alpha0313</guid>
      <pubDate>Fri, 30 Oct 2026 00:00:00 GMT</pubDate>
      <description>A sign in that keeps returning from a service is stopped at the prophet and shown as an error with a way out.</description>
      <content:encoded><![CDATA[<p>The prophet now stops a sign in that keeps returning from a service and shows what happened instead of bouncing the browser once more.</p>
<h2 id="looping-sign-in" tabindex="-1"><a class="header-anchor" href="#looping-sign-in"><span>Looping sign in</span></a></h2>
<p>When a service's callback keeps failing and sends the browser back to sign in, the fourth return within thirty seconds no longer issues a new code. The login page shows the error <code>too_many_redirects</code> with a sentence naming the service, and offers two ways out: continue anyway, which starts a fresh sign in, or sign out. A silent request with <code>prompt=none</code> answers <code>interaction_required</code> to the service instead.</p>
]]></content:encoded>
    </item>
  </channel>
</rss>