-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redirect to another route is not happening #221
Comments
Thanks for the post! @oleksandrpravosudko-okta can you help with this? |
Hi @pbollaram, Does |
yes about /dashboard. I was able to load it if iIrefresh the page with /dashboard URL or when clicked on route "react-router-dom": "^5.2.0" |
Do you happen to have |
No, I am not using that. |
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.
The text was updated successfully, but these errors were encountered: