I’m working on Auth and see that the current chain needs to be specified. Is this chain needed for anything important? I see it’s links to user address and profile per chain within the Moralis Auth Dashboard. Is this used for streams?
If my app is multichain, does my app have to request a new message and session each time the chain changes? Moralis.Auth.requestMessage()
Can I get Auth to add the user address & profile Id for two chains at the same time?
Examples I’m looking at in the handleAuth()
functions:
const challenge = await requestChallengeAsync({
address: account,
chainId: chain.id,
});
This challenge returns the id
, message
, and profileId
. It doesn’t look like chain Id is needed for anything else other than the Auth Dashboard.