swagger-ui
swagger-ui copied to clipboard
Oauth2 flow
Not sure i'm misunderstanding something but i did setup swagger ui with oauth2 implicit. But the redirect uri seems to be hardcoded to http://localhost:3200/. Any way to change this?
Check oauth2RedirectUrl under https://github.com/swagger-api/swagger-ui#parameters.
Hi @Fjandin!
There's an oauth2RedirectUrl configuration option that you can set. Documentation is here: https://github.com/swagger-api/swagger-ui#parameters.
Ah! Missed that one. Works perfectly. Thanks :)