Get auth credentials
Account
Get auth credentials
Free endpoint. Returns an ID token, refresh token, and user ID for the calling wallet. Use the ID token as a Bearer token to call Laso Finance APIs.
Prove wallet ownership by sending a SIGN-IN-WITH-X header: a base64-encoded CAIP-122 signed message. Build it with @x402/extensions/sign-in-with-x (e.g. wrapFetchWithSIWx handles the round-trip automatically). Works for any EVM (Base, eip155:8453) or Solana mainnet wallet.
For ID-token refresh use POST /auth with grant_type=refresh_token.
GET
Get auth credentials