i am using sfa for the creation of user wallets, we already have our web application (react-nextjs) and it works, but we are developing the mobile application with react-native, we can connect new users, but when we try to connect old users that already have wallet (that they created on the web) we have this error
[Error: Error occurred while verifying params unable to verify jwt token, [failed to verify jws signature: failed to verify message: crypto/rsa: verification error]]
and the same happens when I try to connect react-native users on web
React
SDK Version:@web3auth/single-factor-auth: ^6.5.0
Verifier Name: win-veri-prod-v2
- JWKSEndpoint:
https://api.win.investments/api/v2/auth/jwk - Sample idToken (JWT):
eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IldpbkludmVzdG1lbnRzV2ViM0F1dGhLSUQifQ.eyJzdWIiOiI3MTkiLCJuYW1lIjpudWxsLCJlbWFpbCI6ImVzdGViYW5Ad2luLmludmVzdG1lbnRzIiwiYXVkIjoiV2luSW52ZXN0bWVudHNXZWIzQXV0aEFVRCIsImlzcyI6IldpbkludmVzdG1lbnRzV2ViM0F1dGhJU1MiLCJpYXQiOjE3MDI2NTEyNjYsImV4cCI6MTcwMzY1MTI2NSwiZW1haWxfdmVyaWZpZWQiOjF9.Xk52wVmoqiFlxBTsK6f_8sdumSHP52Xat41tszZHCoEIK0y2e8o3Cu_pNqneZoO7Gc-oCctGiXEC3CS9S-_JLlcJJ4w9wxNgqQt6b3ktBUJ6N2kfkVTA4usUoChmB5jKGo-w-8M8PNrMMzbKVplCiNi0QKPNy79gH75RlEipnlWR9q_zErfc4dvdDPDw2VO1Q3nENZPTcmjGVdWiBrH1uvwMs-aWoXzdpTH2BcwtkCeJ0wS2l8ZpNRzA96MqAoRqHphc2mT8f-LhMv0MFzjSepYrKPzWNQmMMd5fUsIQQVf14mMxNuzyKBNKXJuKu4kTp0PZkaJpxFRvinkinNRNP2SixIinwjahXOHbtaMzRmk-8p8hXD2SEU3UiB_bhXcIn0pmL0dY3Qac2NgIF9IwWvW6pwDZq5uIKz67FUzus6JxwUc44dHzZCwqfsPKGR_fLvwLPDqshBX_kBxkG8gY-yzOw6BkOR7UF04QBcPET8EHStlfdSHmEutQIAaK1asqZicMRxZUNAChPmwRaT3G_FTzUyNZBMkJoF4QoVoL0GkcCsyavA5PFqw8D0jl1Lqwn1JKYFXiABai6ZJ77clPcXqJ94sNvUQXyEJH4etkThEFpNNQVooszXNCqAjFltcIpD2ZS36hoqg8aJ3oUDLoIZWshz20wm5Kb36h4BbKLSs
React native
SDK Version:@web3auth/single-factor-auth-react-native: ^2.0.0
Verifier Name: win-veri-prod-v2
- JWKSEndpoint:
https://api.win.investments/api/v2/auth/jwk - Sample idToken (JWT):
eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IldpbkludmVzdG1lbnRzV2ViM0F1dGhLSUQifQ.eyJzdWIiOiI3MTkiLCJuYW1lIjpudWxsLCJlbWFpbCI6ImVzdGViYW5Ad2luLmludmVzdG1lbnRzIiwiYXVkIjoiV2luSW52ZXN0bWVudHNXZWIzQXV0aEFVRCIsImlzcyI6IldpbkludmVzdG1lbnRzV2ViM0F1dGhJU1MiLCJpYXQiOjE3MDI2NTE0NDAsImV4cCI6MTcwMzY1MTQzOSwiZW1haWxfdmVyaWZpZWQiOjF9.JV2uTSZ2xmXgchBuvBq-cA_0tf6kltx-zf6G-oO0MKG3GGYMWJBF-zol7gXPMoG5HuQQjR_4iqn5b9mjijg8jaRXJl0V-SiHcDQbU9qfjjjkz-MswoJWtiQlk3JnzC3fJwiLZTjSKCIflQlTbtKX3V6gTPKPb69rGMAKUgE7JFVD5dkORFp4JYAFqe7Gi2qpR6tnwOnkELpJdd-n-9vyJI6fKcbOZStRYHSo12pgY8V0otkp7BML-J5uCde_hzeg0ZQWyT0qWTFPoWU1NjQKCZnShteGktDRfQXbYrHaL7zp-zasaSL-qHCnFjlaldWPrpIA3JsMZR4iWY7wlsBSt71BpMESJyx4KLnCHPNRRQzLDInQhmZJBEtnzz3o9a7qx9enqGSv7khrQxY3lAGxyPVxEy7jjGWA7pp894bDpY_peDCmzwdx9XTb4WpFdVOKStyBWPAR5dsVBXF0wUzYiKa6U0ChZgqp0-13wfVg-MATlUL7LooklXSbeyj1J7yz1oGpjnCp3CCT-kDESE21qKm8OvQZArABiggvvWL89AmcvRaqWYXgHAhbIjzJcdGza3QE1vkI_lJ61kO25f8Dp7XCi91HiRyRen_lpyerruPs9p0cBDQ9DwAc4pIWpr-1ILp28LL5DYUxFQ8KmteC3jEU_VdWwPd7jwyE9R82eAc