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

asked 2016-05-31 17:50:15 -0500

mnparthasarathy gravatar image

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?

edit retag flag offensive close merge delete

Comments

Did you figure out solution to this? I am facing the same issue.

AjayTheTrojan gravatar imageAjayTheTrojan ( 2016-07-01 12:47:35 -0500 )edit

@mnparthasarathy could you please tell if you could resolve this issue

sanjana gravatar imagesanjana ( 2017-05-29 06:29:56 -0500 )edit