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.

Lens Authentication is one of 6 APIs that Lens Protocol publishes on the APIs.io network.

Tagged areas include Authentication, SIWE, Wallet, and Bearer Token. The published artifact set on APIs.io includes API 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