@devries-cameron20 / composio Mirror · read-only / commits / 2307573af
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 07:15 UTC

docs: redirect auth and security URLs that agents guess

Brendan O'Leary committed Oct 26, 2026 at 19:57 UTC 2307573afc7ede5d66a1902bd6b1391e160b4fe9
2 files changed +88
docs/next.config.mjs
+82
@@ -1127,6 +1127,88 @@ const config = {
1127 destination: '/docs/authentication/white-labeling-authentication',
1128 permanent: true,
1129 },
1130 + // Auth, security, and deployment paths coding agents guess while
1131 + // evaluating Composio. Each source returned 404 in Gauge agent sessions.
1132 + {
1133 + source: '/docs/security',
1134 + destination: '/docs/security/overview',
1135 + permanent: true,
1136 + },
1137 + {
1138 + source: '/docs/security-and-compliance',
1139 + destination: '/docs/security/overview',
1140 + permanent: true,
1141 + },
1142 + {
1143 + source: '/guides/security',
1144 + destination: '/docs/security/overview',
1145 + permanent: true,
1146 + },
1147 + {
1148 + source: '/docs/:legacy(self-hosting|deployment)',
1149 + destination: '/docs/security/token-custody#deployment-options',
1150 + permanent: true,
1151 + },
1152 + {
1153 + source: '/docs/hosting/:path*',
1154 + destination: '/docs/security/token-custody#deployment-options',
1155 + permanent: true,
1156 + },
1157 + {
1158 + source: '/docs/:legacy(oauth|auth-overview|auth-integration|auth-and-connected-accounts|how-authentication-works)',
1159 + destination: '/docs/authentication',
1160 + permanent: true,
1161 + },
1162 + {
1163 + source: '/docs/auth/:path*',
1164 + destination: '/docs/authentication',
1165 + permanent: true,
1166 + },
1167 + {
1168 + source: '/docs/auth-management/:path*',
1169 + destination: '/docs/authentication',
1170 + permanent: true,
1171 + },
1172 + {
1173 + source: '/docs/authentication/:legacy(overview|introduction|intro)',
1174 + destination: '/docs/authentication',
1175 + permanent: true,
1176 + },
1177 + {
1178 + source: '/docs/:legacy(managed-auth|hosted-auth)',
1179 + destination: '/docs/authentication/custom-app-vs-managed-app',
1180 + permanent: true,
1181 + },
1182 + {
1183 + source: '/docs/authentication/managed-auth',
1184 + destination: '/docs/authentication/custom-app-vs-managed-app',
1185 + permanent: true,
1186 + },
1187 + {
1188 + source: '/docs/authentication/:legacy(connected-accounts|connected_accounts)',
1189 + destination: '/docs/auth-configuration/connected-accounts',
1190 + permanent: true,
1191 + },
1192 + {
1193 + source: '/docs/overview',
1194 + destination: '/docs',
1195 + permanent: true,
1196 + },
1197 + {
1198 + source: '/docs/sessions',
1199 + destination: '/docs/configuring-sessions',
1200 + permanent: true,
1201 + },
1202 + {
1203 + source: '/quickstart',
1204 + destination: '/docs/quickstart',
1205 + permanent: true,
1206 + },
1207 + {
1208 + source: '/cli',
1209 + destination: '/docs/cli',
1210 + permanent: true,
1211 + },
1212 ];
1213 },
1214 };
docs/tests/integration/redirects.test.ts
+6
@@ -41,6 +41,12 @@ const REDIRECTS = [
41 { from: "/docs/white-labeling-authentication", to: "/docs/authentication/white-labeling-authentication" },
42 { from: "/docs/shared-connections", to: "/docs/extending-sessions/shared-connections" },
43 { from: "/docs/manually-authenticating", to: "/docs/authentication/manually-authenticating" },
44 + { from: "/docs/security", to: "/docs/security/overview" },
45 + { from: "/docs/self-hosting", to: "/docs/security/token-custody#deployment-options" },
46 + { from: "/docs/auth", to: "/docs/authentication" },
47 + { from: "/docs/auth-management/overview", to: "/docs/authentication" },
48 + { from: "/docs/managed-auth", to: "/docs/authentication/custom-app-vs-managed-app" },
49 + { from: "/docs/authentication/overview", to: "/docs/authentication" },
50 ];
51
52 describe("Redirects - key patterns", () => {