Arcgis Online Application template error

Discussion created by raphael.lopes on Mar 19, 2014
Latest reply on May 20, 2014 by damianf
Hi there,

We have download an application template from AGOL and hosted it in our server. We are using a public shared map we built in our account. We are getting the following javascript error:

"Error: User is not signed in.
    at Error (native)
    at q (http://js.arcgis.com/3.9/init.js:405:279)
    at d._doSignIn (http://js.arcgis.com/3.9/init.js:409:383)
    at d._enqueue (http://js.arcgis.com/3.9/init.js:400:420)
    at d.getCredential (http://js.arcgis.com/3.9/init.js:385:298)
    at d.checkSignInStatus (http://js.arcgis.com/3.9/init.js:388:531)
    at declare._initializeApplication (http://www.pplc.com.br/webapp/app/javascript/App.js:150:33)
    at declare._init (http://www.pplc.com.br/webapp/app/javascript/App.js:72:22)
    at declare.constructor (http://www.pplc.com.br/webapp/app/javascript/App.js:51:22)
    at new <anonymous> (http://js.arcgis.com/3.9/init.js:105:288)"

Can anyone help us on this one?
Thanks in advance,