File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
backend/src/services/oauth Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -125,8 +125,9 @@ export class AuthorizationService {
125125 / ^ v s c o d e : \/ \/ .* \/ a u t h \/ c a l l b a c k $ / ,
126126 // Cursor patterns
127127 / ^ c u r s o r : \/ \/ .* \/ o a u t h \/ c a l l b a c k $ / ,
128- // Claude.ai custom connector patterns
129- / ^ h t t p s : \/ \/ c l a u d e \. a i \/ m c p \/ a u t h \/ c a l l b a c k $ /
128+ // Claude.ai MCP OAuth callback patterns (RFC 9728 compliant)
129+ / ^ h t t p s : \/ \/ c l a u d e \. a i \/ a p i \/ m c p \/ a u t h _ c a l l b a c k $ / ,
130+ / ^ h t t p s : \/ \/ c l a u d e \. c o m \/ a p i \/ m c p \/ a u t h _ c a l l b a c k $ / // Future-proofing for domain migration
130131 ] ;
131132
132133 return allowedPatterns . some ( pattern => pattern . test ( redirectUri ) ) ;
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { type FastifyInstance } from 'fastify';
77 */
88export default async function oauthDiscoveryRoutes ( server : FastifyInstance ) {
99 const backendUrl = process . env . DEPLOYSTACK_BACKEND_URL || 'http://localhost:3000' ;
10- const satelliteUrl = `http://localhost:${ process . env . PORT || 3001 } ` ;
10+ const satelliteUrl = process . env . DEPLOYSTACK_SATELLITE_URL || `http://localhost:${ process . env . PORT || 3001 } ` ;
1111
1212 // RFC 9728: OAuth 2.0 Protected Resource Metadata
1313 server . get ( '/.well-known/oauth-protected-resource' , {
You can’t perform that action at this time.
0 commit comments