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: 5 additions & 0 deletions .changeset/bundled-manifest-permissions.md
Original file line number Diff line number Diff line change
@@ -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.
50 changes: 50 additions & 0 deletions packages/core/src/manifest/bundledManifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
Loading