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
The first time you hit RVF in a browser and you hit the /api endpoint you receive an error message:
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:
The tab has to be closed and reopened to be able to see the swagger page.
This is caused by spring security misconfiguration. /api/swagger-ui.html, /api/swagger-resources/** and other swagger related endpoints need to be added to the non secure pages during spring security initialisation with permitAll(). Currently they are incorrectly added without the /api path in them.
The text was updated successfully, but these errors were encountered:
The first time you hit RVF in a browser and you hit the /api endpoint you receive an error message:
The tab has to be closed and reopened to be able to see the swagger page.
This is caused by spring security misconfiguration.
/api/swagger-ui.html
,/api/swagger-resources/**
and other swagger related endpoints need to be added to the non secure pages during spring security initialisation withpermitAll()
. Currently they are incorrectly added without the/api
path in them.The text was updated successfully, but these errors were encountered: