swagger-ui
swagger-ui copied to clipboard
Swagger authorization does not complet against Microsoft Entra ID on Chrome and Edge
- OS: Windows 10
- Browser: Edge,Chrome, Firefox
- Swagger-UI version: 6.5.0
- Swagger/OpenAPI version: 6.5.0
Hi, I have a ASP.NET Core Web API with Swagger and the authorization happens via Microsoft Entra ID. This is working but only on Firefox. When I click Authorization button in Swagger-UI the Edge and Chrome browsers are keep waiting for something but nothing happens.
CORS is enabled: policy.AllowAnyOrigin().AllowAnyHeader().AllowAnyMethod(); Swagger registration redirectURL is https://localhost:7215/swagger/oauth2-redirect.html
The same here, but with the latest Firefox also.
It seems this is not supported by Entra ID. Look at this issue #9800