I found hardcoded link in swagger-oauth var redirectUrl = host.protocol + '//' + host.host + "/o2c.html"; Could you move this to settings?