Skip to content

Commit 634bab5

Browse files
authored
Entra External ID logout JS exception (#35123)
1 parent 506dddb commit 634bab5

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
16.9 KB
Loading

aspnetcore/blazor/security/includes/troubleshoot-server.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ To enable debug or trace logging for Blazor WebAssembly authentication, see the
66

77
### Common errors
88

9+
* Debugger breaks on an exception during logout with Microsoft Entra External ID
10+
11+
The following exception stops the Visual Studio debugger during logout with [Microsoft Entra External ID](/entra/external-id/external-identities-overview):
12+
13+
> :::no-loc text="Uncaught TypeError TypeError: Failed to execute 'postMessage' on 'Window': The provided value cannot be converted to a sequence.":::
14+
15+
![Visual Studio Debugger breaking on JavaScript exception during logout](../_static/entra-external-id-logout-exception.png)
16+
17+
The exception is thrown from Entra JavaScript code, so this isn't a problem with ASP.NET Core. The exception doesn't impact app functionality in production, so the exception can be ignored during local development testing.
18+
919
* Misconfiguration of the app or Identity Provider (IP)
1020

1121
The most common errors are caused by incorrect configuration. The following are a few examples:

0 commit comments

Comments
 (0)