# SAML Send URL instead of Entity ID

**URL:** <https://community.auth0.com/t/saml-send-url-instead-of-entity-id/10567>\
**Category:** Get Help\
**Tags:** saml\
**Created:** [April 2, 2018, 9:38pm UTC](https://community.auth0.com/t/saml-send-url-instead-of-entity-id/10567 "2018-04-02T21:38:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lab5](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@lab5](https://community.auth0.com/u/lab5)\
**Post date:** [April 2, 2018, 9:38pm UTC](https://community.auth0.com/t/saml-send-url-instead-of-entity-id/10567/1 "2018-04-02T21:38:08Z")

</div>

Hello,  
I am working with my IT department to integrate Auth0 with their Shibboleth IdP SSO software. I am able to log in successfully using the “play” button in the list of SAML enterprise connections, but I get back no user attributes (all fields say “empty”). I spoke to my IT department and they told me that the requests from Auth0 they received are not correctly formatted for them to authorize attribute release, since they authorize attribute releaser by URL, and Auth0 sends the Entity ID “urn:auth0:myorg:conn” instead of a URL (I believe the correct URL would be “[https://myorg.auth0.com/login/callback?connection=conn](https://myorg.auth0.com/login/callback?connection=conn)”). For example, in the following log from the Shibboleth IdP:

`2018-04-02 08:01:56,824 - INFO [Shibboleth-Audit.SSO:241] - 20180402T120156Z|urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect|_02fbcadddd306118bad2|urn:auth0:myorg:conn|http://shibboleth.net/ns/profiles/saml2/sso/browser|https://idp.myorg.edu/idp/shibboleth|urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST|_42b9147051399b151d6b1fe3b91297bc|lab5|urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport||AAdzZWNyZXQxSU7[...etc]|_9479917446bca8e9775ebf96c183de77|`

The Shibboleth IdP expects a URL instead of “urn:auth0:myorg:conn”

Is it possible to configure Auth0 to send the URL directly this way?

Thank you

---

<div class="post-metadata">

**Author:** ![kimcodes](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kimcodes/32/81052_2.png) [@kimcodes](https://community.auth0.com/u/kimcodes)\
**Post date:** [April 4, 2018, 2:25pm UTC](https://community.auth0.com/t/saml-send-url-instead-of-entity-id/10567/3 "2018-04-04T14:25:43Z")

</div>

👋 @lab5 You should be able to set URLs for the entity ID if you cannot use URNs.

One way we can do this is could be to update [the entity with the management API](https://auth0.com/docs/api/management/v2#!/Connections/patch_connections_by_id). You’ll need to patch the connection’s options, e.g.:

```auto
{
"options": {
    "entityId": "THE URL ENTITY ID",
    ...
},
...

```

Please let me know if this works for you!

---

<div class="post-metadata">

**Author:** ![lab5](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@lab5](https://community.auth0.com/u/lab5)\
**Post date:** [April 4, 2018, 4:52pm UTC](https://community.auth0.com/t/saml-send-url-instead-of-entity-id/10567/4 "2018-04-04T16:52:19Z")

</div>

Kim,

Thanks very much for your help. I was able to update the entity ID successfully using the API. One quick follow up question is: should I use the url “[https://myorg.auth0.com/](https://myorg.auth0.com/)” or the url “[https://myorg.auth0.com/login/callback?connection=myconn](https://myorg.auth0.com/login/callback?connection=myconn)” as the URL entity ID?

Thanks,  
Luke

---

<div class="post-metadata">

**Author:** ![kimcodes](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kimcodes/32/81052_2.png) [@kimcodes](https://community.auth0.com/u/kimcodes)\
**Post date:** [April 4, 2018, 5:13pm UTC](https://community.auth0.com/t/saml-send-url-instead-of-entity-id/10567/5 "2018-04-04T17:13:27Z")

</div>

Great question! For a connection named `ext-saml-idp-a` for example, the service provider Entity ID would be `urn:auth0:{auth0_domain}:ext-saml-idp-a` as you mentioned earlier (`urn:auth0:myorg:con`) so for the URL I believe it should be something like `"https://{auth0_domain}.auth0.com/saml/ext-saml-idp-a"`. Let me double check on this.

Also, please note I did not mention earlier but when we make the patch for the `options` you’ll need to provide any pre-existing options (if any) since they’ll get cleared and would be an incorrectly configured connection at that point.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [April 8, 2018, 5:13pm UTC](https://community.auth0.com/t/saml-send-url-instead-of-entity-id/10567/6 "2018-04-08T17:13:38Z")

</div>

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.
