I was following the quick start guide from Okta Authentication Quickstart Guides | Okta Developer. But when i try logging in this error occurs “TypeError: Cannot read property ‘idToken’ of undefined” Im not sure what I’m supposed to do.
What do your App.js and Home.js files look like? There is probably a code error somewhere, but we’ll need to see the code to help.
@nate.barbettini can you please help? I’m still stuck on this issue
Some additional info when I sign in on route
http://localhost:3000/login
it redirects to
then
http://localhost:3000/implicit/callback where it shows “TypeError: Cannot read property ‘idToken’ of undefined”
Sorry for the delay. Did you make any progress? If not, are you using the latest version of the React SDK library?
Ping @jmelberg who can answer React questions better than I.
Yea after digging around I found the error
I’m curious, what was it?
I was using withRouter and that affected the page reloading
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.