Replies: 3 comments 12 replies
-
I am looking more deeply to the problem and I think the problem is that the emulator doesn't sign the jwt tokens. That means when I give the jwk endpoint of the guide, it will fail because the tokens are not signed. I can theoretically write an endpoint with empty keys that would accept this token, right ? I tried something like this as JWKS https://laprop-test.s3.filebase.com/test.json but it didn't work. Do the library support hs256 ? |
Beta Was this translation helpful? Give feedback.
-
Hey @irux , I am assuming that you are using custom authentication. For custom auth you should use web3authCore sdk not web3auth sdk. As I can see in your code your are using web3auth sdk. Please refer to below code when you want to use custom auth.
|
Beta Was this translation helpful? Give feedback.
-
@irux , You can ignore that 404 error, Is it blocking your login flow? The purpose of that call is to validate the user session and to do that we create a random session priv key on the frontend and send the corresponding pub key to backend to check if session exist, it returns 404 always if session doesn't exists on the first call but it should not block your login flow and also we don't support hs256 keys for jwts |
Beta Was this translation helpful? Give feedback.
-
Hello, I am trying to log in with firebase locally with the emulator as this guide show you, but I am getting a 404 when I try to use the method
connectTo
here the response:
does someone have experience with this ?
Beta Was this translation helpful? Give feedback.
All reactions