# Migration to a new server and "There was an error fetching the SSO data" error

**URL:** <https://community.auth0.com/t/migration-to-a-new-server-and-there-was-an-error-fetching-the-sso-data-error/11543>\
**Category:** Get Help\
**Tags:** lock, login, auth0\
**Created:** [May 12, 2018, 3:48pm UTC](https://community.auth0.com/t/migration-to-a-new-server-and-there-was-an-error-fetching-the-sso-data-error/11543 "2018-05-12T15:48:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gianluigiliguori](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@gianluigiliguori](https://community.auth0.com/u/gianluigiliguori)\
**Post date:** [May 12, 2018, 3:48pm UTC](https://community.auth0.com/t/migration-to-a-new-server-and-there-was-an-error-fetching-the-sso-data-error/11543/1 "2018-05-12T15:48:51Z")

</div>

Hello everyone, we are using auth0 on the website [http://www.keenbeer.com](http://www.keenbeer.com).  
If you try to login and you check the F12 console you will notice the error: “index.js:400 There was an error fetching the SSO data. This could simply mean that there was a problem with the network. But, if a “Origin” error has been logged before this warning, please add “[https://keenbeer.com](https://keenbeer.com)” to the “Allowed Web Origins” list in the Auth0 dashboard: https”.

It was working very good since we changed our server behind the domain “\*.keenbeer.com” and of course everything is configured good in the dashboard abut “Allowed Web Origins” and even on the server we put the same old configuration.

Any ideas?

Thank you in advance

---

<div class="post-metadata">

**Author:** ![gianluigiliguori](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@gianluigiliguori](https://community.auth0.com/u/gianluigiliguori)\
**Post date:** [May 12, 2018, 9:56pm UTC](https://community.auth0.com/t/migration-to-a-new-server-and-there-was-an-error-fetching-the-sso-data-error/11543/3 "2018-05-12T21:56:24Z")

</div>

I solved. I have as callback url an address that is fixed set to [https://www.keenbeer.com/login-callback](https://www.keenbeer.com/login-callback), in this way the session cookie is issued just for the 2nd level ‘www’ domain and not for the one without.

I forced my webserver to always redirect to the www version of the website.

Thank you

---

<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:** [December 17, 2018, 10:56am UTC](https://community.auth0.com/t/migration-to-a-new-server-and-there-was-an-error-fetching-the-sso-data-error/11543/4 "2018-12-17T10:56:14Z")

</div>


