Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Login failed: No authentication backend could be determined to handle the provided credentials.

I've configured Horizon to work Keystone SAML authentication. The SAML authentication works - The SAML assertion is sent to Keystone and I can see Keystone generating a token (Form data in the browser web console shows the token). Keystone redirect back to Horizon but Horizon does not appear to be receiving the token and is throwing the above error.

def websso(request): """Logs a user in using a token from Keystone's POST.""" referer = request.META.get('HTTP_REFERER', settings.OPENSTACK_KEYSTONE_URL) auth_url = re.sub(r'/auth.*', '', referer) token = request.POST.get('token')

I printed the token in the above code and it's None. An idea what causes this?