swagger-ui icon indicating copy to clipboard operation
swagger-ui copied to clipboard

Swagger authorization does not complet against Microsoft Entra ID on Chrome and Edge

Open hatvanis opened this issue 2 years ago • 2 comments

  • 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

hatvanis avatar Oct 26 '23 10:10 hatvanis

The same here, but with the latest Firefox also.

tualatin avatar Jun 13 '24 12:06 tualatin

It seems this is not supported by Entra ID. Look at this issue #9800

mshasib avatar Jun 27 '24 18:06 mshasib