You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
index.tsx:15 Callback parsing error: TypeError: Cannot read properties of undefined (reading '_logger')
at signinRedirectCallback (@zitadel_react.js?v=2ca991b3:3410:26)
at index.tsx:13:15
at index.tsx:20:5
at commitHookEffectListMount (react-dom_client.js?v=2ca991b3:16904:34)
at commitPassiveMountOnFiber (react-dom_client.js?v=2ca991b3:18152:19)
at commitPassiveMountEffects_complete (react-dom_client.js?v=2ca991b3:18125:17)
at commitPassiveMountEffects_begin (react-dom_client.js?v=2ca991b3:18115:15)
at commitPassiveMountEffects (react-dom_client.js?v=2ca991b3:18105:11)
at flushPassiveEffectsImpl (react-dom_client.js?v=2ca991b3:19486:11)
at flushPassiveEffects (react-dom_client.js?v=2ca991b3:19443:22)
Library source code chunk:
asyncsigninRedirectCallback(url=window.location.href){// ----- On line below error -----constlogger2=this._logger.create("signinRedirectCallback");// -------------------------------constuser=awaitthis._signinEnd(url);if(user.profile&&user.profile.sub){logger2.info("success, signed in subject",user.profile.sub);}else{logger2.info("no subject");}returnuser;}
Maybe someone already found a way how to fix error? Or maybe I did something wrong. I can provide React app for reproduction later if needed.
The text was updated successfully, but these errors were encountered:
on the stack trace, I could see that the error was thrown in the oidc-client-ts lib - that's why I suspected the error to be my fault.
changing the assignment to
Description
Hi. I have this error when I'm trying to call
zitadel.userManager.signinRedirectCallback
.Environment
NX monorepo with regular Vite React app + TypeScript.
Lib version:
How instance created:
Error:
Library source code chunk:
Maybe someone already found a way how to fix error? Or maybe I did something wrong. I can provide React app for reproduction later if needed.
The text was updated successfully, but these errors were encountered: