brightspace-mcp-server 3.8.3 → 3.8.4
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/build/auth/purdue-sso.js +6 -4
- package/package.json +1 -1
package/build/auth/purdue-sso.js
CHANGED
|
@@ -318,6 +318,12 @@ export class PurdueSSOFlow {
|
|
|
318
318
|
let resendNotFoundWarned = false;
|
|
319
319
|
try {
|
|
320
320
|
while (Date.now() < deadline) {
|
|
321
|
+
// A verified session outranks whatever challenge controls linger on
|
|
322
|
+
// screen: answering them would prompt or announce for nothing.
|
|
323
|
+
if (await this.isAuthenticated(page)) {
|
|
324
|
+
log("INFO", "Login successful - verified Brightspace home");
|
|
325
|
+
return;
|
|
326
|
+
}
|
|
321
327
|
if (await this.duoMfa.handle(page))
|
|
322
328
|
challenged = true;
|
|
323
329
|
if (await this.submitMfaCode(page))
|
|
@@ -349,10 +355,6 @@ export class PurdueSSOFlow {
|
|
|
349
355
|
numberVanishedAt = null;
|
|
350
356
|
resendNotFoundWarned = false;
|
|
351
357
|
}
|
|
352
|
-
if (await this.isAuthenticated(page)) {
|
|
353
|
-
log("INFO", "Login successful - verified Brightspace home");
|
|
354
|
-
return;
|
|
355
|
-
}
|
|
356
358
|
// Fix 2: Entra's number-match request itself times out (or the user
|
|
357
359
|
// taps Deny) well before the 5-minute budget above. Once that has
|
|
358
360
|
// happened, ask Entra for another one instead of polling a dead
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "brightspace-mcp-server",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.4",
|
|
4
4
|
"mcpName": "io.github.rohanmuppa/brightspace",
|
|
5
5
|
"description": "MCP server for Brightspace (D2L). Check grades, due dates, assignments, announcements, syllabus, rosters and more via Claude, ChatGPT, Cursor, Windsurf, or any MCP client.",
|
|
6
6
|
"type": "module",
|