Apologize if this is already been mentioned.
I’m having an issue with type resolutions using this latest versions of the two libraries on the “Security” component as part of okta-react.
It appears that the “OktaAuth” component created by the okta-auth-js doesn’t appear to be compatible with this version of the okta-react “Security” component. I get the following: “Type ‘OktaAuth’ is not assignable to type ‘OktaAuthBrowser’.”
I also can’t seem to create a function that aligns with what okta-react wants for the “restoreOriginalUri”. I get the following: “Type ‘(_oktaAuth: OktaAuth, originalUri: string) => Promise’ is not assignable to type ‘RestoreOriginalUriFunction’.”
My setup is quite simple and from the most recent example I could find:
- how do I get the above working?
- how do I implement the new service based approach for token renewal?
- is there a working example for this version combination of modules?
- is the okta sign in widget worth it as it always seems behind the product as far as features? does the latest version of it now support password-less logins?
I just want to do this correctly. Can someone who is much smarter than me help me out here? The online documentation seems to lack a fully implemented example using these new versions.
Thanks in advance!