Using a Custom JWT Auth Provider to get an Ethereum Private Key #967
Animalmix55
announced in
Help
Replies: 2 comments
-
I did some further drilling into the RPC error and discovered this: Which seems to contradict https://web3auth.io/docs/sdk/web/providers/#examples |
Beta Was this translation helpful? Give feedback.
0 replies
-
Well, I'll be darned, I was using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Good evening!
I am using Web3Auth and my own backend to generate JWTs to use with a custom verifier. So far, I successfully make it through login, with the popup modal disappearing and
connectTo
returning a provider, the issue is the final step: getting the private key from the provider.The following is my code:
This works great until the final three lines, where the request throws this console error:

I thought it might be an issue of not specifying a custom RPC but, still, no luck. I used CHAIN_NAMESPACES.OTHER to see if perhaps it was an EVM-specific issue, but then I got this error:
Beta Was this translation helpful? Give feedback.
All reactions