Forum Discussion
HKosova
Alumni
5 years agoThe OAuth redirect URI is client-specific rather than an API property, that's why it's not in the spec.
If you use the open-source Swagger UI and host it yourself, the redirect URI is the location of the oauth2-redirect.html file on your server.
If you use SwaggerHub, the redirect URI is:
- https://app.swaggerhub.com/oauth2_redirect in SwaggerHub SaaS
- http(s)://SWAGGERHUB/oauth2_redirect in SwaggerHub On-Premise