DEV Community

Discussion on: Secure Open API (Swagger) calls with Azure Active Directory

Collapse
 
eduardomb08 profile image
Eduardo Monteiro de Barros

Hi again,

I wanted to share this in case anyone else is having the same problem. After comparing the Authorize URLs from port 5001 with any other port, I noticed the former was missing the code_challenge attributes and the sso_reload attribute.

After poking around some more, I started suspecting some cache issue could be taking place. So, I decided to open the Swagger UI page in an Incognito tab using port 5001 (the one that was breaking the authentication).

Voilà! It worked.

Best to all!