2

I created a react application using the package '@okta/okta-react' and everything is (was…) ok. I added 'react-persist' to my project and now I have an infinite loop of redirects from the homepage to the /implicit/callback route with the error

Unable to retrieve OAuth redirect params cookie

I tried to blacklist ‘auth’ on my persist configuration, like this:

const persistConfig = {
  key: 'root',
  storage,
  blacklist: ['auth']
}

but the issue is still there. any idea?

rvandoni
  • 3,297
  • 4
  • 32
  • 46

0 Answers0