Skip to content

Commit 58c47dc

Browse files
authored
refactor(auth): temporarily disable scope authorization (#254)
It's unclear how the scopes are going to be populated in the JWT. Disable scope authorization for the time being. Signed-off-by: Marc Nuri <[email protected]>
1 parent fde4b1d commit 58c47dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/mcp/mcp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func NewServer(configuration Configuration) (*Server, error) {
6262
server.WithLogging(),
6363
server.WithToolHandlerMiddleware(toolCallLoggingMiddleware),
6464
)
65-
if configuration.StaticConfig.RequireOAuth {
65+
if configuration.StaticConfig.RequireOAuth && false { // TODO: Disabled scope auth validation for now
6666
serverOptions = append(serverOptions, server.WithToolHandlerMiddleware(toolScopedAuthorizationMiddleware))
6767
}
6868

0 commit comments

Comments
 (0)