@softeria/ms-365-mcp-server 0.114.4 → 0.114.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/server.js +1 -1
- package/package.json +1 -1
package/dist/server.js
CHANGED
|
@@ -191,7 +191,7 @@ class MicrosoftGraphServer {
|
|
|
191
191
|
const protocol = req.secure ? "https" : "http";
|
|
192
192
|
const requestOrigin = `${protocol}://${req.get("host")}`;
|
|
193
193
|
const browserBase = publicBase ?? requestOrigin;
|
|
194
|
-
const scopes = resolveAuthScopes(this.options);
|
|
194
|
+
const scopes = this.options.obo ? [`${this.secrets.clientId}/access_as_user`] : resolveAuthScopes(this.options);
|
|
195
195
|
const metadata = {
|
|
196
196
|
issuer: browserBase,
|
|
197
197
|
authorization_endpoint: `${browserBase}/authorize`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softeria/ms-365-mcp-server",
|
|
3
|
-
"version": "0.114.
|
|
3
|
+
"version": "0.114.5",
|
|
4
4
|
"description": " A Model Context Protocol (MCP) server for interacting with Microsoft 365 and Office services through the Graph API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|