mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 18:27:36 +00:00
Remove remaining SecurityClient auth calls in favor of hooks, keep RouteGuard
This commit is contained in:
@@ -26,7 +26,7 @@ router.post(
|
||||
keyController.uploadKey
|
||||
);
|
||||
|
||||
router.get(
|
||||
router.get( // TODO endpoint: deprecate (note: move frontend to v2/workspace/key or something)
|
||||
"/:workspaceId/latest",
|
||||
requireAuth({
|
||||
acceptedAuthModes: [AuthMode.JWT],
|
||||
|
||||
@@ -9,7 +9,7 @@ import { AuthMode } from "../../variables";
|
||||
// note: ALL DEPRECIATED (moved to api/v2/workspace/:workspaceId/memberships/:membershipId)
|
||||
// TODO endpoint: consider moving these endpoints to be under /workspace to be more RESTful
|
||||
|
||||
router.get( // used for old CLI (deprecate)
|
||||
router.get( // TODO endpoint: deprecate - used for old CLI (deprecate)
|
||||
"/:workspaceId/connect",
|
||||
requireAuth({
|
||||
acceptedAuthModes: [AuthMode.JWT],
|
||||
|
||||
Reference in New Issue
Block a user