You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.
Please tell us exactly how to reproduce the problem you are running into.
Initiate the lib
Start a login session
Restart the app
So basically, just use the lib normally.
Desktop (please complete the following information):
OS: MacOS
Smartphone (please complete the following information):
Device: iPhone 12 pro
OS: iOS 17.4
Additional context
After digging through the code we found the issue.
single-factor-auth-web uses @toruslabs/openlogin-utils at version 8.1.2
but single-factor-auth-react-native uses @toruslabs/openlogin-utils at version 6.1.0.
This causes problem because both are using different memory stores (as the toruslabs lib is a different version).
So when this lib tries to recover the session id from the keystore and set it in the memory store for the sfa-web to read it:
Steps to reproduce
Please tell us exactly how to reproduce the problem you are running into.
So basically, just use the lib normally.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
After digging through the code we found the issue.
single-factor-auth-web
uses@toruslabs/openlogin-utils
at version 8.1.2but
single-factor-auth-react-native
uses@toruslabs/openlogin-utils
at version 6.1.0.This causes problem because both are using different memory stores (as the toruslabs lib is a different version).
So when this lib tries to recover the session id from the keystore and set it in the memory store for the sfa-web to read it:
single-factor-auth-react-native/src/Web3Auth.ts
Line 78 in 9995e7e
the sfa-web will never be able to read that session because both of them started different storages because of different versions of openlogin-utils.
The text was updated successfully, but these errors were encountered: