You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Swagger UI hits nonexistant breakpoint in Edge (with debugging) when returning from oauth2 authentication while any breakpoint is set in the project.
#10237
Open
HunterAhlquist opened this issue
Dec 11, 2024
· 0 comments
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
The text was updated successfully, but these errors were encountered:
HunterAhlquist
changed the title
Swagger UI hits nonexistant breakpoint in browser (with debugging) when returning from oauth2 authentication while any breakpoint is set in the project.
Swagger UI hits nonexistant breakpoint in Edge (with debugging) when returning from oauth2 authentication while any breakpoint is set in the project.
Dec 11, 2024
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
The text was updated successfully, but these errors were encountered: