| Q | A
| ------------------------------- | -------
| Bug or feature request? | Bug
| Which Swagger/OpenAPI version? | 3.0
| Which Swagger-UI version? | 3.x
| How did you install Swagger-UI? | http://petstore.swagger.io/ or https://editor.swagger.io/
| Which browser & version? | Chrome 62
| Which operating system? | Sierra
Default.
Relative paths in AuthorizationUrl or TokenUrl in securitySchemes are treated as relative to the API server URL.
They are treated as relative to the UI/Editor's server URL.
As I understand it this is the desired behaviour. If you don't want a relative url, ensure that the token or authorisation url begins with '/'. i.e. "/oauth/token"
@Zachius We want a URL to be relative to the API server URL, not to the UI/Editor's server URL.
Is it likely we can get this merged in?
@shockey Any update on this issue? Can we expect the PR to be merged?
Most helpful comment
@Zachius We want a URL to be relative to the API server URL, not to the UI/Editor's server URL.