useLensLogin

The SDK implements a convenient way to login a user to Lens and manages the access and refresh tokens for you (the ZK3 backend uses Lens JWTs for some authenticated requests).

import { useLensLogin } from 'zk3-sdk'

const { mutateAsync: login } = useLensLogin()
await login()

Last updated