Even if I set the timeout to 60, the result is all the same.
Also I send the verify request instantly. It’s within a second.
const config = {
domain: process.env.APP_DOMAIN,
statement: 'please ...',
uri: process.env.NEXTAUTH_URL,
timeout: 60,
};
export default async function handler(req, res) {
const { address, chain, network } = req.body;
await Moralis.start({ apiKey: process.env.MORALIS_API_KEY });
try {
const message = await Moralis.Auth.requestMessage({
address,
chain,
network,
...config,
});