Commit 31a1907c authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

astakos: API access page url fix

remove trailing /tokens from `Authentication URL`
parent 3213b8b0
......@@ -262,9 +262,9 @@ def api_access(request, template_name='im/api_access.html',
context = {}
token_url = join_urls(settings.BASE_HOST, reverse('tokens_authenticate'))
url = get_public_endpoint(settings.astakos_services, 'identity')
context['services'] = Component.catalog()
context['token_url'] = token_url
context['token_url'] = url
context['client_url'] = settings.API_CLIENT_URL
if extra_context:
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