Lens Authentication

Lens authentication uses a sign-in-with-Ethereum style challenge: a client requests a signing message from the Lens API, the user signs it with their wallet, and the API returns short-lived access and refresh tokens scoped to a specific Account and App. The auth flow supports owner, manager, and onboarding-user roles.

Documentation

API entry from apis.yml

apis.yml Raw ↑
aid: lens-protocol:lens-authentication
name: Lens Authentication
description: 'Lens authentication uses a sign-in-with-Ethereum style challenge:

  a client requests a signing message from the Lens API, the user

  signs it with their wallet, and the API returns short-lived access

  and refresh tokens scoped to a specific Account and App. The auth

  flow supports owner, manager, and onboarding-user roles.

  '
humanURL: https://lens.xyz/docs/authentication
baseURL: https://api.lens.xyz/graphql
tags:
- Authentication
- SIWE
- Wallet
- Bearer Token
properties:
- type: Documentation
  url: https://lens.xyz/docs/authentication