# AWX SAML authentication wrong username

**URL:** <https://forum.ansible.com/t/awx-saml-authentication-wrong-username/30538>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [June 11, 2019, 9:56pm UTC](https://forum.ansible.com/t/awx-saml-authentication-wrong-username/30538 "2019-06-11T21:56:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Larry\_Bakun](https://avatars.discourse-cdn.com/v4/letter/l/41988e/32.png) [@Larry\_Bakun](https://forum.ansible.com/u/Larry_Bakun)\
**Post date:** [June 11, 2019, 9:56pm UTC](https://forum.ansible.com/t/awx-saml-authentication-wrong-username/30538/1 "2019-06-11T21:56:53Z")

</div>

Hi,  
Day 3… Continue my SAML fight… I can finally login to the AWX using SAML authentication method, but my username is shown as 32 characters string like this one: f7da396ebde947069841feb69f8bed7c

My configuration:

`

{  
“samlLogin”: {  
“entity\_id”: “https://…/samlidp2/saml20”,  
“url”: “https://…/samlidp2/saml20/login”,  
“x509cert”: “…”,  
“attr\_user\_permanent\_id”: “name\_id”,  
“attr\_first\_name”: “User.FirstName”,  
“attr\_last\_name”: “User.LastName”,  
“attr\_username”: “User.email”,  
“attr\_email”: “User.email”  
}  
}

`

 ![Screen Shot 2019-06-11 at 5.55.02 PM.png](https://us1.discourse-cdn.com/ansible/original/2X/8/894e48f1e889ac8c1b298a7f22cff3e114a6ac24.png)

---

<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:38am UTC](https://forum.ansible.com/t/awx-saml-authentication-wrong-username/30538/2 "2019-07-29T03:38:52Z")

</div>

Hi,  
Did you check the redirection is happening from SAML, if redirection is happening then please share us the error message.

Regards,  
Raja V
