Skip to content
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

React docs: AuthSdkError: No restoreOriginalUri callback passed to Security Component. #2430

Open
baruchiro opened this issue Aug 11, 2021 · 3 comments

Comments

@baruchiro
Copy link

Affected page(s):
https://developer.okta.com/docs/guides/sign-into-spa/react/configure-the-sdk/

Describe the problem(s):
After this phase, my React app loaded with just one line written on the screen:

AuthSdkError: No restoreOriginalUri callback passed to Security Component.

If possible, describe a proposed fix:
Maybe you changed the Security component, I see its prop restoreOriginalUri is required, but it is not documented on the guide.

@Adithya-HarshaBabu
Copy link

Hey. How did you fix this issue?

@baruchiro
Copy link
Author

I don't remember, but from my issue I understand you need to define the restoreOriginalUri field.

@brianduffield-okta
Copy link
Contributor

Thanks for the feedback. These SPA guides are being revised for accuracy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants