
JohnK.83948 (Customer) asked a question.
I am new to OKTA. After securing my Spring/Java REST services using OKTA, I can no longer get to my Swagger UI page at http://localhost:{port}/swagger-ui.html*/ . I get a popup with the following text:
Unable to infer base url. This is common when using dynamic servlet registration or when the API is behind an API Gateway. The base url is the root of where all the swagger resources are served. For e.g. if the api is available at http://example.org/api/v2/api-docs then the base url is http://example.org/api/. Please enter the location manually:
Ideally I'd like to have the Swagger UI page only accessible to users in a developers group. But first things first. How can I get the page to display? All worked fine previously(before enabling security with OKTA).
Any assistance is appreciated.

Hello John,
Thank you for reaching to Okta Support!
This behavior has been also described in the forum question posted here: https://www.bountysource.com/issues/46184048-can-t-test-the-configuration-404-not-found where there are multiple solutions provided. If the information found in the previously mentioned resource do not help alleviate the issue, we would recommend opening a support ticket with our developers.
Best regards,
Cristian Mondiru
Technical Support Engineer
Okta Global Customer Care