-
Notifications
You must be signed in to change notification settings - Fork 79
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
Okta redirection issue with React HashRouter #110
Comments
Thanks for submitting this issue. Internal ref: OKTA-386208 |
As a workaround, you can use oktaAuth.handleLoginRedirect(); in |
As example, you can use With some changes: const REDIRECT_URI = `${window.location.origin}/login/callback`; import { HashRouter as Router, Route, Switch } from 'react-router-dom';
oktaAuth.handleLoginRedirect(); |
14 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My App is using HashRouters now I want to integrate OKTA Authentication but that issue is Okta does not allow to add # in the redirection URL. As a result after successful login, I am landing on a 404 unknown pages. I don't want to use change to Browser routers
Could anybody suggest to me how to deal with #Routes with OKta redirection..?
If possible can you please provide an example?
The text was updated successfully, but these errors were encountered: