@sassoftware/sas-score-mcp-serverjs 0.3.1 → 0.3.2
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/cli.js +1 -1
- package/package.json +1 -1
- package/src/hapiMcpServer.js +1 -1
package/cli.js
CHANGED
|
@@ -103,7 +103,7 @@ if (process.env.SUBCLASS != null) {
|
|
|
103
103
|
let clientID = process.env.CLIENTID || process.env.CLIENTIDPW || null;
|
|
104
104
|
let clientSecret = process.env.CLIENTSECRET || process.env.CLIENTSECRETPW || null;
|
|
105
105
|
let https = process.env.HTTPS != null ? process.env.HTTPS.toUpperCase() : "FALSE";
|
|
106
|
-
let autoLogon = process.env.AUTOLOGON != null ? process.env.AUTOLOGON.toUpperCase() : "
|
|
106
|
+
let autoLogon = process.env.AUTOLOGON != null ? process.env.AUTOLOGON.toUpperCase() : "FALSE";
|
|
107
107
|
const appEnvBase = {
|
|
108
108
|
version: version,
|
|
109
109
|
mcpType: mcpType,
|
package/package.json
CHANGED
package/src/hapiMcpServer.js
CHANGED
|
@@ -16,7 +16,7 @@ async function hapiMcpServer(mcpServer, cache, baseAppEnvContext) {
|
|
|
16
16
|
process.env.APPHOST = '0.0.0.0';
|
|
17
17
|
let r = await appServer.asyncCore(mcpHandlers, true, 'app', null);
|
|
18
18
|
console.error('Hapi server running result:', r);
|
|
19
|
-
if (baseAppEnvContext.AUTHFLOW === 'code' && baseAppEnvContext.AUTOLOGON
|
|
19
|
+
if (baseAppEnvContext.AUTHFLOW === 'code' && baseAppEnvContext.AUTOLOGON === 'TRUE') {
|
|
20
20
|
await urlOpen(r);
|
|
21
21
|
}
|
|
22
22
|
return r;
|