diff --git a/integra-mcp/oauth.mjs b/integra-mcp/oauth.mjs index 904b15a..61d9df4 100644 --- a/integra-mcp/oauth.mjs +++ b/integra-mcp/oauth.mjs @@ -57,7 +57,7 @@ export function oauthRouter({ store, origin, authenticate, currentUser, redirect await store.set('flow',hash(requestId),{...p,scopes,browserHash:hash(browserSecret)},600); res.set({ 'Content-Security-Policy':"default-src 'none'; style-src 'unsafe-inline'; form-action 'self'; frame-ancestors 'none'; base-uri 'none'", - 'X-Frame-Options':'DENY','Referrer-Policy':'no-referrer','X-Content-Type-Options':'nosniff' + 'X-Frame-Options':'DENY','Referrer-Policy':'strict-origin','X-Content-Type-Options':'nosniff' }); res.cookie('integra_mcp_flow',browserSecret,{httpOnly:true,secure:true,sameSite:'lax',path:'/mcp-connect',maxAge:600000}); res.type('html').send(`