Commit df28ba95 authored by Sofia Papagiannaki's avatar Sofia Papagiannaki
Browse files

astakos: Return default region in POST /tokens

Update api call to return a default region for compatibility
with the keystone api.
parent 5cce58dd
......@@ -107,6 +107,7 @@ def authenticate(request):
for l in ['key', 'value') for e in s.endpoints.all()]:
endpoint = dict((d['key'], d['value']) for d in l)
endpoint["SNF:uiURL"] = s.component.url
endpoint["Region"] = "defaultRegion"
if == 'astakos_weblogin':
endpoint["SNF:webloginURL"] = endpoint["publicURL"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment