Use nhost.auth.createPAT to create a personal access token for the user.
nhost.auth.createPAT
expiresAt required Date
Date
Expiration date for the token
metadata optional Record<string, string | number>
Record<string, string | number>
Optional metadata to store with the token
Was this page helpful?