Revision d558ca0b snf-astakos-app/astakos/im/views/im.py

b/snf-astakos-app/astakos/im/views/im.py
216 216
    """
217 217
    context = {}
218 218

  
219
    token_url = join_urls(settings.BASE_URL, settings.BASE_PATH,
220
                           reverse('tokens_authenticate'))
219
    token_url = join_urls(settings.BASE_HOST, reverse('tokens_authenticate'))
221 220
    context['services'] = Component.catalog()
222 221
    context['token_url'] = token_url
223 222
    context['client_url'] = settings.API_CLIENT_URL

Also available in: Unified diff