Repository navigation
v0.20.0
Minor Changes
-
25a267b:
seamless initcan now include the admin console with a full-stack template such as the Next.js starter.--admin=api(the default, and the recommended prompt option) has the web app serve the dashboard athttp://localhost:5173/console. The auth server getsSERVE_ADMIN_DASHBOARD=true, the app's.envgetsSERVE_ADMIN_CONSOLE=truefrom the starter's{{serveAdminConsole}}, andORIGINSstays the web origin alone, since the console shares it.seamless.config.json,seamless check, and the closing summary point at that URL.--admin=nonestill leaves the console out.--admin=imageand--admin=sourceare refused with an explanation: a dashboard container on:5174would call the app's/authcross-origin, which the Next.js route handler does not allow.- A starter from a templates release without the
/consoleroute is scaffolded without the console, with a warning, rather than with an auth server serving a dashboard nothing proxies. An explicit--admin=apifor such a release is an error. seamless verifychecks the Next.js starter's console:/consoleserves the dashboard and its assets from the app's origin, and an admin signed in on the app loads the console's admin API calls through it.
Patch Changes
- 63ac8f9: Map the standalone admin console (
--admin=imageand--admin=source) to container port 8080, where the dashboard's unprivileged nginx listens. The generated compose published5174:80, so nothing answered onhttp://localhost:5174. - da190d7:
seamless init --mobilewith no value now selects the Expo template, whose registry alias ismobile. A trailing--mobileused to be dropped silently, andseamless init --mobile my-apptookmy-appas the template id and lost the project name; it now scaffoldsmy-appwith Expo.--mobile=expoand--mobile expoare unchanged, and a bare--webor--api(neither is an alias) now says it needs a value instead of being ignored. - bb94d5b: New projects scaffold the auth server at
v0.16.0(wasv0.13.1) and the admin dashboard atv0.9.1(wasv0.7.0). The auth server now links or creates an account through OAuth only when the provider asserts a verified email, and adds user import and OpenID Connect provider support. The dashboard's new Passkey enrollment page needs/admin/enrollmentroutes that ship in the next auth server release, so it reports an error againstv0.16.0.adm-zip, which unpacks the downloaded templates and dashboard, moves to0.6.1to clear its security advisories. - 0f49e6b: New projects scaffold the auth server at
v0.17.0(wasv0.16.0) and the starters fromseamless-templatesv0.17.0(wasv0.16.0). The auth server now serves the passkey enrollment, authentication coverage, store review account and audit integrity routes the bundled admin dashboardv0.9.1calls, and the Express, Fastify and Next.js starters move to adapters (@seamless-auth/express^0.19.1,@seamless-auth/fastify^0.10.1,@seamless-auth/nextjs^0.3.1) that pass them through, so the console's Enrollment, Coverage and Audit Trail pages work on a fresh local stack. The starters also readAUTH_SERVER_ISSUER, so a starter run on the host signs in against the Docker stack, and the Next.js starter serves the console at/console.