# Can't use SAML for SSO when upgrade to Lock 11

**URL:** <https://community.auth0.com/t/cant-use-saml-for-sso-when-upgrade-to-lock-11/9555>\
**Category:** Get Help\
**Tags:** lock-11\
**Created:** [February 21, 2018, 2:41pm UTC](https://community.auth0.com/t/cant-use-saml-for-sso-when-upgrade-to-lock-11/9555 "2018-02-21T14:41:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![it4](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/it4/32/8496_2.png) [@it4](https://community.auth0.com/u/it4)\
**Post date:** [February 21, 2018, 2:41pm UTC](https://community.auth0.com/t/cant-use-saml-for-sso-when-upgrade-to-lock-11/9555/1 "2018-02-21T14:41:32Z")

</div>

I set up an SAML addon in a client and use it for my sso. It work ok in Lock 10, when I use embedded Lock in my application. But when I migrate to Lock 11 the SSO failed. I read the document and it seem like the issue was due to the Cross Origin Authentication was enabled so the embedded Lock will fail to issue the sso session. Could you please advise me here? Thanks

---

<div class="post-metadata">

**Author:** ![ricardo.batista](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ricardo.batista/32/7711_2.png) [@ricardo.batista](https://community.auth0.com/u/ricardo.batista)\
**Post date:** [February 21, 2018, 3:36pm UTC](https://community.auth0.com/t/cant-use-saml-for-sso-when-upgrade-to-lock-11/9555/2 "2018-02-21T15:36:17Z")

</div>

What exact error message are you seeing? Can you share a snippet from your authentication code?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 25, 2019, 10:15am UTC](https://community.auth0.com/t/cant-use-saml-for-sso-when-upgrade-to-lock-11/9555/3 "2019-07-25T10:15:31Z")

</div>


