I am trying to authenticate users who create their Ceramic Profiles for the very first time with a wallet connect provider.
const authProvider = new EthereumAuthProvider(provider, address);
const selfId = await SelfID.authenticate({
authProvider: authProvider,
ceramic: ceramicNodeUrl,
connectNetwork: ceramicNetwork,
});
It fails with this error
Uncaught (in promise) Error: ‘args.method’ must be a non-empty string.
This error occurs when I create an instance of selfID as shown above.
The same setup works smoothly with injected metamask wallet if I use window.ethereum instead of the provider, but then I can not connect with wallet connect. Any ideas?