Skip to content

Commit 079dff7

Browse files
committed
chore: configure MCP OAuth in dev-demo
1 parent fbad4cc commit 079dff7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎dev-demo/globalPlugins.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export const globalPlugins = [
4646
dashboardConfigsResourceId: 'dashboard_configs',
4747
}),
4848
new AdminForthMcpPlugin({
49+
adminPanelOrigin: 'http://localhost:3123',
4950
authSecretResource: {
5051
resourceId: 'mcp_auth_secrets',
5152
idField: 'id',
@@ -55,7 +56,11 @@ export const globalPlugins = [
5556
createdAtField: 'created_at',
5657
lastUsedAtField: 'last_used_at',
5758
lastUsedByAgentField: 'last_used_by_agent',
59+
oauthClientIdField: 'oauth_client_id',
5860
},
61+
devOAuthClients: [
62+
{ clientId: 'local-test', clientName: 'Local test', redirectUris: ['http://127.0.0.1/callback'] },
63+
],
5964
}),
6065
new AdminForthAgent({
6166
placeholderMessages: async ({ adminUser, httpExtra }) => {

0 commit comments

Comments
 (0)