I’m trying to use firebase locally for testing, but am unable to get the private key from web3auth for my user. I tried to implement the solution for a similar issue from @irux, (see here: Firebase locally · Web3Auth · Discussion #630 · GitHub) except with flutter instead of vue.
I have a dummy jwks endpoint that is identical to his.
I also have a custom verifier that points to that jwks endpoint and that checks for the aud claim only. I would show you the config for the custom verifier, but I am unable to access the details for some reason:
I sign the unsigned firebase token with the dart_jsonwebtoken package using HS256, and when I decode it, it is identical in structure to the token I get when I don’t use the emulator. dart_jsonwebtoken | Dart Package
But I still get the error that auth shares couldn’t be found.
Here are my details:
SDK Version: 1.0.3
Screenshots of error:
Related to Custom Authentication? Yes
Verifier Name: sinbad-local
Please provide the Web3Auth initialization and login code snippet below:
local signing of JWT: