Q&A (please complete the following information)
- OS: Windows 10
- Browser: Edge (debugging enabled)
- Version: 7.2.0
- Method of installation: NuGet
- Swagger-UI version: 7.2.0
- Swagger/OpenAPI version: 7.2.0
Content & configuration
Example Swagger/OpenAPI definition:
N/A
Swagger-UI configuration options:
SwaggerUI({
c.SwaggerEndpoint("/swagger/v1/swagger.json", "[REDACTED] v1");
c.OAuthClientId(ad["ClientId"]);
c.OAuthScopes(ad["Scopes"]);
c.OAuthUsePkce();
c.OAuthScopeSeparator(" ");
c.ConfigObject.AdditionalItems.Add("requestSnippetsEnabled", true);
})
Describe the bug you're encountering
In my API project that uses Microsoft/Azure oauth2 authentication, whenever I set a breakpoint anywhere in my project to debug endpoints before logging in, upon returning from the auth page, the browser appears as if a browser breakpoint was hit.
To reproduce...
Steps to reproduce the behavior:
- Create an API that utilizes oauth2
- Set a breakpoint anywhere in the project (an authorized controller for example)
- Attempt to log into oauth2
- Upon returning with authentication, SwaggerUI will show the above screen, unable to proceed
Expected behavior
The UI continues to operate as no breakpoint should have been hit after returning from authentication.
Screenshots
My IDE shows no breakpoint hit, no other tabs are open.

Additional context or thoughts
There are a lot of different interactions going on here, not 100% sure where this could actually be happening, SwaggerUI is my best guess. I want to use edge due to Microsoft automatically logging in to speed up debugging
Q&A (please complete the following information)
Content & configuration
Example Swagger/OpenAPI definition:
N/A
Swagger-UI configuration options:
Describe the bug you're encountering
In my API project that uses Microsoft/Azure oauth2 authentication, whenever I set a breakpoint anywhere in my project to debug endpoints before logging in, upon returning from the auth page, the browser appears as if a browser breakpoint was hit.
To reproduce...
Steps to reproduce the behavior:
Expected behavior
The UI continues to operate as no breakpoint should have been hit after returning from authentication.
Screenshots
My IDE shows no breakpoint hit, no other tabs are open.

Additional context or thoughts
There are a lot of different interactions going on here, not 100% sure where this could actually be happening, SwaggerUI is my best guess. I want to use edge due to Microsoft automatically logging in to speed up debugging