# Authentication failed: SAML login failed :8052

**URL:** <https://forum.ansible.com/t/authentication-failed-saml-login-failed-8052/30826>\
**Category:** AWX Project\
**Tags:** kubernetes, awx\
**Created:** [July 20, 2019, 9:14am UTC](https://forum.ansible.com/t/authentication-failed-saml-login-failed-8052/30826 "2019-07-20T09:14:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raja\_V](https://avatars.discourse-cdn.com/v4/letter/r/8dc957/32.png) [@Raja\_V](https://forum.ansible.com/u/Raja_V)\
**Post date:** [July 20, 2019, 9:14am UTC](https://forum.ansible.com/t/authentication-failed-saml-login-failed-8052/30826/1 "2019-07-20T09:14:04Z")

</div>

Deployed application in K8s and also configured ingress to respond.

We are facing issue in SAML and the error message is below

Authentication failed: SAML login failed: [‘invalid\_response’] (The response was received at [https://awx.test.com:8052/sso/complete/saml/](https://awx.test.com:8052/sso/complete/saml/) instead of [https://awx.test.com/sso/complete/saml/](https://awx.test.com/sso/complete/saml/)).

Already tried the below under image\_build - files - settings.py

USE\_X\_FORWARDED\_PORT = True  
USE\_X\_FORWARDED\_HOST = True

Do we have any solution for this ? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Raja\_V](https://avatars.discourse-cdn.com/v4/letter/r/8dc957/32.png) [@Raja\_V](https://forum.ansible.com/u/Raja_V)\
**Post date:** [July 29, 2019, 3:27am UTC](https://forum.ansible.com/t/authentication-failed-saml-login-failed-8052/30826/2 "2019-07-29T03:27:34Z")

</div>

Fixed the issue by doing the change in LB

Regards,  
Raja V
