Docs

signLoginPayload

Signs the login payload using the provided account.

Example

import { signLoginPayload } from "thirdweb/auth";
const { signature, payload } = await signLoginPayload({
payload: loginPayload,
account: account,
});

Parameters

Returns

An object containing the signature and the payload.