okta-developer-docs icon indicating copy to clipboard operation
okta-developer-docs copied to clipboard

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

Open baruchiro opened this issue 4 years ago • 3 comments

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.

baruchiro avatar Aug 11 '21 10:08 baruchiro

Hey. How did you fix this issue?

Adithya-HarshaBabu avatar Nov 04 '21 00:11 Adithya-HarshaBabu

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

baruchiro avatar Nov 04 '21 07:11 baruchiro

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

brianduffield-okta avatar Oct 11 '23 15:10 brianduffield-okta