Hi,
Followed same as mentioned in example but i need to redirect my app to different route on successful sign in.
So as mentioned in documentation i am doing this below
const login = async () => {
oktaAuth.signInWithRedirect({ originalUri: '/dashboard' });
};
but my dashboard component is not loaded. I see that the URL on the browser is getting changed but react component is not loaded. Maybe the router is not detecting the change from oktaAuth
I have the following route specified in my app.