reorder AddXAuthorization after AddXIdentityService ...
This commit is contained in:
+4
-4
@@ -68,10 +68,6 @@ namespace xAiMcpServer
|
||||
};
|
||||
});
|
||||
|
||||
//
|
||||
// Register Authorizations ...
|
||||
services.AddXAuthorization();
|
||||
|
||||
//
|
||||
services.AddControllers()
|
||||
.AddNewtonsoftJson(x =>
|
||||
@@ -90,6 +86,10 @@ namespace xAiMcpServer
|
||||
configuration: Configuration
|
||||
);
|
||||
|
||||
//
|
||||
// Register Authorizations ...
|
||||
services.AddXAuthorization();
|
||||
|
||||
//
|
||||
// Register MCP Tools in DI ...
|
||||
services.AddXAiMcpTools();
|
||||
|
||||
Reference in New Issue
Block a user