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
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"
This is still a issue kind of, if you are leaving out the the domain path of the server url and keep it relative/absolute (eg just using / instead of https://exampe.com/) will a relative url for authorizationUrl and tokenUrl using the swagger explorer domain instead of the domain for the swagger definition.
Demonstration API definition
Gist: https://gist.githubusercontent.com/yewton/b4bc323992c685962b1e8f071a3eebaa/raw/748e99b95f1a543ac65741d2c57afa194a9e6617/openapi.yml
Configuration (browser query string, constructor, config.yaml)
Default.
Expected Behavior
Relative paths in
AuthorizationUrl
orTokenUrl
insecuritySchemes
are treated as relative to the API server URL.Current Behavior
They are treated as relative to the UI/Editor's server URL.
Possible Solution
Context
The text was updated successfully, but these errors were encountered: