Commit b71fbaf8 authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

astakos: Add region value in POST /tokens

Add hardcoded 'default' value in region attribute.

Refs #4086
parent f9f80ef3
......@@ -107,6 +107,7 @@ def authenticate(request):
for l in [e.data.values('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"] = "default"
if s.name == 'astakos_weblogin':
endpoint["SNF:webloginURL"] = endpoint["publicURL"]
endpoints.append(endpoint)
......
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