Skip to content

Commit ee52da5

Browse files
fjprobosclaude
authored andcommitted
fix: remove hardcoded internal URL from sse-server.js OAuth discovery endpoint
Use SSE_SERVER_URL env var (falls back to localhost:8010). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 3a4d16c commit ee52da5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sse-server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ app.get('/health', (req, res) => {
1818
app.get('/.well-known/oauth-authorization-server', (req, res) => {
1919
res.setHeader('Content-Type', 'application/json');
2020
res.json({
21-
issuer: 'https://data-dev.clay.cl/metabase-mcp'
21+
issuer: process.env.SSE_SERVER_URL || 'http://localhost:8010'
2222
});
2323
});
2424

0 commit comments

Comments
 (0)