Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/owner-code-verified-owner.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/pin-templates-v0-23-0.md

This file was deleted.

13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# seamless-cli

## 0.30.5

### Patch Changes

- 10e221f: `seamless owner-code` prints a code for an owner whose account is already verified, so the owner of a local stack can sign in again without reading container logs. Auth API 0.24.0 stopped returning a code from registration for a verified address, so the command now falls back to the sign-in code route when registration returns none. The first registration is unchanged.
- cf7d1af: New projects scaffold auth API v0.24.3 and the starter templates v0.23.0.

The auth API release brings the v0.24 security fixes: magic links need the code from the link fragment, step-up and factor enrollment are stricter, refresh token reuse is detected at any age, pre-auth endpoints answer the same whether or not an account exists, and the OpenID Provider contract is version 4, so a scaffolded stack can run `@seamless-auth/oidc-provider` 0.5.x.

The templates' API starters use the adapter releases that default the auth cookies to `SameSite=Lax` and refuse a state-changing request from an `Origin` the API does not allow (`@seamless-auth/express` 0.27.0, `@seamless-auth/fastify` 0.18.0, and `seamless-auth` 0.7.0 for Go, Rust and Python). The web starters send security headers and a Content-Security-Policy and read the magic link code from the fragment, the Docker builds default to the production stage, and the Express and Fastify starters run in production mode from `npm start`. Existing projects keep the versions they were scaffolded with.

On auth API 0.24 a step-up only accepts an authenticator app enrolled before the session signed in. When the app is newer, the CLI now says to sign in again and keeps the session, where it used to refresh the session, retry, and then clear it with a message that the session was rejected.

## 0.30.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "seamless-cli",
"version": "0.30.4",
"version": "0.30.5",
"description": "The CLI for Seamless Auth, open source passwordless auth",
"keywords": [
"seamless-auth",
Expand Down