Fixes: 1. media.ts: wrap placeholder generation in try-catch 2. toolbar.ts: check r.ok, display error message in popover
5.1 KiB
@emdash-cms/auth
0.9.0
Minor Changes
- #800
e2d5d16Thanks @csfalcao! - Adds support for accepting passkey assertions from multiple origins that share anrpId, for deployments reachable under several hostnames (apex + preview/staging) under one registrable parent. Declare additional origins viaEmDashConfig.allowedOrigins(inastro.config.mjs) or theEMDASH_ALLOWED_ORIGINSenv var (comma-separated); the two sources merge at runtime. EmDash validates the merged set againstsiteUrland rejects dead config (non-subdomain entries, IP-literalsiteUrl, trailing dots, empty labels) with source-attributed errors.PasskeyConfig.origin: stringis replaced byPasskeyConfig.origins: string[].
0.8.0
Minor Changes
- #779
e402890Thanks @ascorbic! - Addssettings_getandsettings_updateMCP tools so agents can read and update site-wide settings (title, tagline, logo, favicon, URL, posts-per-page, date format, timezone, social, SEO).settings_getresolves media references (logo/favicon/seo.defaultOgImage) to URLs;settings_updateis a partial update that preserves omitted fields. Newsettings:read(EDITOR+) andsettings:manage(ADMIN) API token scopes back the tools, with matching options in the personal API token settings UI.
Patch Changes
-
#398
31333dcThanks @simnaut! - Adds pluggable auth provider system with AT Protocol as the first plugin-based provider. Refactors GitHub and Google OAuth from hardcoded buttons into the sameAuthProviderDescriptorinterface. All auth methods (passkey, AT Protocol, GitHub, Google) are equal options on the login page and setup wizard. -
#777
3eca9d5Thanks @ascorbic! - Addstaxonomies:manageandmenus:manageAPI token scopes for fine-grained control over taxonomy and menu mutations via MCP and REST. Existing tokens withcontent:writecontinue to work for those operations:content:writenow implicitly grantsmenus:manageandtaxonomies:manageso PATs issued before the split keep their effective permissions. The reverse implication does not hold — a token with onlymenus:managecannot create or edit content.
0.7.0
Patch Changes
- #736
81fe93bThanks @ascorbic! - Restricts Subscriber-role access to draft, scheduled, and trashed content. Subscribers retaincontent:readfor member-only published content but no longer see non-published items via the REST API or MCP server. Adds a newcontent:read_draftspermission (Contributor and above) that gates/compare,/revisions,/trash,/preview-url, and the corresponding MCP tools.
0.6.0
Patch Changes
- #552
f52154dThanks @masonjames! - Fixes passkey login failures so unregistered or invalid credentials return an authentication failure instead of an internal server error.
0.5.0
Patch Changes
- #542
64f90d1Thanks @mohamedmostafa58! - Fixes invite flow: corrects invite URL to point to admin UI page, adds InviteAcceptPage for passkey registration.
0.4.0
0.3.0
0.2.0
Patch Changes
- #452
1a93d51Thanks @kamine81! - Fixes GitHub OAuth login failing with 403 on accounts where email is private. GitHub's API requires aUser-Agentheader and rejects requests without it.
0.1.1
Patch Changes
- #133
9269759Thanks @kyjus25! - Fix auth links and OAuth callbacks to use/_emdash/api/auth/...so emailed sign-in, signup, and invite URLs resolve correctly in EmDash.