I have a react application with the following:
based on documentation on okta/react repo. okta-react 6.x should be compatible with 5.x.
however I am getting this error:
AuthSdkError: Passed in oktaAuth is not compatible with the SDK, okta-auth-js version 5.x is the current supported version.
weird thing is, this error goes away after I refresh the page, it only shows up when I navigate to the page from another page. if I refresh on the page it goes away.