# Okta saml auth error social 'RelayState'

**URL:** <https://forum.ansible.com/t/okta-saml-auth-error-social-relaystate/4914>\
**Category:** Get Help\
**Tags:** awx\
**Created:** [April 11, 2024, 10:51pm UTC](https://forum.ansible.com/t/okta-saml-auth-error-social-relaystate/4914 "2024-04-11T22:51:11Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jbird](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@jbird](https://forum.ansible.com/u/jbird)\
**Post date:** [April 19, 2024, 1:57am UTC](https://forum.ansible.com/t/okta-saml-auth-error-social-relaystate/4914/3 "2024-04-19T01:57:49Z")

</div>

ooops, I reread your description and saw you have additional issues that should be addressed, too.

```auto
{
  “okta”: {
    “attr_user_permanent_id”: “urn:oid:1.3.6.1.4.1.5555.610.2.2.1.11”,
    “attr_username”: “urn:oid:1.3.6.1.4.1.5555.610.2.2.1.11”,
    “entity_id”: “”, 
    “url”: “”,
    “x509cert”: “”
    }
}

```

You appear to be missing some required fields. The following docs should show you what you are missing. All fields MUST be defined.  
[https://docs.ansible.com/automation-controller/latest/html/administration/ent\_auth.html#saml-settings:~:text="onelogin"%3A,email" %20%20} }](https://docs.ansible.com/automation-controller/latest/html/administration/ent_auth.html#saml-settings:~:text=%22onelogin%22%3A,email%22%0A%20%20%7D%0A%7D)

Also, the following article should help as it explains how to do exactly what you are trying to do. It is also a bit dated, but the same information applies and should help you out here.  
[https://access.redhat.com/solutions/4618191](https://access.redhat.com/solutions/4618191)

I hope this helps.  
Jeff

---

_[View the full topic](https://forum.ansible.com/t/okta-saml-auth-error-social-relaystate/4914)._
