Unable to authenticate did with selfId/web mainnet

const selfId = await SelfID.authenticate({
   authProvider: new EthereumAuthProvider(window.ethereum, address),
   ceramic: 'mainnet',
   connectNetwork: 'mainnet',
});

I am running this code and getting this error when I try to authenticate. It works if I put testnet-clay in both ceramic and connectNetwork. Any ideas what I am doing wrong here? (I am trying to connect to our mainnet node https://ceramic.jp4g.xyz/ )

TypeError: Failed to construct 'URL': Invalid base URL
    at new CeramicClient (ceramic-http-client.js:36:1)
    at new Core (core.js:173:1)
    at new WebClient (client.js:56:1)
    at SelfID.authenticate (self.js:79:1)
    at authenticateDid (selfId.ts:83:1)
1 Like

@jamesmetokens - can you log the value of address in your example above?

CC @zfer @paul

mainnet is not a valid configuration value for the Ceramic network to connect to, you need to provide the URL of a Ceramic node or one of the supported predefined values, cf Configurations - Ceramic Developers

FYI, support for mainnet as an acceptable network selection just went in recently.

Never mind, @spencer just corrected me.

I misread the question - this isn’t about using the Ceramic mainnet network for running a daemon (support for which was added recently), this is about using it as an option in the self.id SDK, which isn’t supported.