From 1dc8393b252e13c321eeecf57514641f9bf8674f Mon Sep 17 00:00:00 2001 From: Brandon Corbett Date: Fri, 6 Nov 2026 01:30:48 -0500 Subject: [PATCH] fix(manifest): sync the bundled manifest with the auth API routes for permissions --- .changeset/bundled-manifest-permissions.md | 5 ++ packages/core/src/manifest/bundledManifest.ts | 50 +++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 .changeset/bundled-manifest-permissions.md diff --git a/.changeset/bundled-manifest-permissions.md b/.changeset/bundled-manifest-permissions.md new file mode 100644 index 0000000..856a72d --- /dev/null +++ b/.changeset/bundled-manifest-permissions.md @@ -0,0 +1,5 @@ +--- +"@seamless-auth/core": patch +--- + +Syncs the bundled adapter manifest with the auth API's `main`, adding the permission and organization role routes from API #576 and #577. A manifest fetch that fails at startup no longer hides those routes from an adapter, which made a console behind it report that it needs API v0.23. diff --git a/packages/core/src/manifest/bundledManifest.ts b/packages/core/src/manifest/bundledManifest.ts index 8111654..3420970 100644 --- a/packages/core/src/manifest/bundledManifest.ts +++ b/packages/core/src/manifest/bundledManifest.ts @@ -102,6 +102,21 @@ export const BUNDLED_ADAPTER_MANIFEST: AdapterManifest = { "path": "/admin/enrollment/invites", "credential": "access" }, + { + "method": "POST", + "path": "/admin/organization-roles", + "credential": "access" + }, + { + "method": "DELETE", + "path": "/admin/organization-roles/{roleName}", + "credential": "access" + }, + { + "method": "PATCH", + "path": "/admin/organization-roles/{roleName}", + "credential": "access" + }, { "method": "GET", "path": "/admin/organizations", @@ -157,6 +172,26 @@ export const BUNDLED_ADAPTER_MANIFEST: AdapterManifest = { "path": "/admin/organizations/{organizationId}/oauth-providers/{providerId}/retirement", "credential": "access" }, + { + "method": "GET", + "path": "/admin/permissions", + "credential": "access" + }, + { + "method": "POST", + "path": "/admin/permissions", + "credential": "access" + }, + { + "method": "DELETE", + "path": "/admin/permissions/{permissionName}", + "credential": "access" + }, + { + "method": "PATCH", + "path": "/admin/permissions/{permissionName}", + "credential": "access" + }, { "method": "GET", "path": "/admin/reports/authentication-coverage", @@ -192,6 +227,16 @@ export const BUNDLED_ADAPTER_MANIFEST: AdapterManifest = { "path": "/admin/review-accounts", "credential": "access" }, + { + "method": "GET", + "path": "/admin/roles", + "credential": "access" + }, + { + "method": "PUT", + "path": "/admin/roles/{kind}/{roleName}/permissions", + "credential": "access" + }, { "method": "GET", "path": "/admin/sessions", @@ -704,6 +749,11 @@ export const BUNDLED_ADAPTER_MANIFEST: AdapterManifest = { "preAuth" ] }, + { + "method": "GET", + "path": "/users/me/permissions", + "credential": "access" + }, { "method": "POST", "path": "/webauthn/login/finish",