Customise localStorage keys used for useInsecureForRefreshToken between JS and React SDKs
Hello! We're migrating our apps from Auth0 to Kinde (and loving the experience).
We have a React app that has to iframe a legacy app so we've had to use both JS and React SDKs. We were having issues getting the iframed app to use the authenticated Kinde session in local development even though they are on the same domain. We realised that the localStorage key used by the react SDK for the refresh token is
We have a React app that has to iframe a legacy app so we've had to use both JS and React SDKs. We were having issues getting the iframed app to use the authenticated Kinde session in local development even though they are on the same domain. We realised that the localStorage key used by the react SDK for the refresh token is
refreshToken0 while the JS SDK is expecting kinde_refresh_token. Is there a way to customise what is used by either SDK to ensure they are the same?