Sitecore Asked by prakashmadhava on December 12, 2020
I have implementation this OIDC Client in Sitecore JSS App(React). Looks like working fine in disconnected and disconnected mode. But when we load the in page in Sitecore experience editor it is throwing below error.
Cannot read property 'getItem' of undefined
TypeError: Cannot read property 'getItem' of undefined
at t [as get] (C:inetpubwwwrootsamplesitedistsample-jss-appserver.bundle.js:2067:14912)
at e.t [as _loadUser] (C:inetpubwwwrootsamplesitedistsample-jss-appserver.bundle.js:2113:46495)
at e.t [as getUser] (C:inetpubwwwrootsamplesitedistsample-jss-appserver.bundle.js:2113:32492)
at new t (C:inetpubwwwrootsamplesitedistsample-jss-appserver.bundle.js:2067:41166)
at new e (C:inetpubwwwrootsamplesitedistsample-jss-appserver.bundle.js:2113:32004)
at new AuthService (C:inetpubwwwrootsamplesitedistsample-jss-appserver.bundle.js:28825:22)
at new AuthProvider (C:inetpubwwwrootsamplesitedistsample-jss-appserver.bundle.js:28893:25)
at c (C:inetpubwwwrootsamplesitedistsample-jss-appserver.bundle.js:11787:325)
at Ua (C:inetpubwwwrootsamplesitedistsample-jss-appserver.bundle.js:11790:16)
at a.render (C:inetpubwwwrootsamplesitedistsample-jss-appserver.bundle.js:11796:48)
Is there any workaround to fix this issue?
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP