Commit 1c9a5d50 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

astakos: Fix identity endpoint construction

in api access view
parent d1d67a52
......@@ -216,8 +216,7 @@ def api_access(request, template_name='im/api_access.html',
context = {}
token_url = join_urls(settings.BASE_URL, settings.BASE_PATH,
token_url = join_urls(settings.BASE_HOST, reverse('tokens_authenticate'))
context['services'] = Component.catalog()
context['token_url'] = token_url
context['client_url'] = settings.API_CLIENT_URL
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