Fix the discovery doc to point to the stack specific auth endpoint.

This commit is contained in:
jakedt 2014-03-26 16:28:35 -04:00
parent 8fefe239b5
commit bb05daf090

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'],
},
},
},