This commit is contained in:
Joseph Schorr 2014-03-26 16:32:39 -04:00
commit 2c1a31f9d1

View file

@ -157,7 +157,7 @@ def swagger_route_data(include_internal=False, compact=False):
"implicit": {
"tokenName": "access_token",
"loginEndpoint": {
"url": "http://localhost:5000/oauth/authorize",
"url": "http://%s/oauth/authorize" % app.config['URL_HOST'],
},
},
},