Lifebots symbol
Lifebots.cloud
OAuth 2.0 API
API Reference › OAuth

Authorize (browser redirect)

GET/oauth/authorize

Send the user's browser here. They sign in, review the scopes and approve; LifeBots then redirects to your redirect_uri with ?code=…&state=…, or ?error=access_denied if they decline. If the user already approved the same scopes, the redirect is immediate.

Authorization and token management. These follow the OAuth 2.0 spec and answer in plain OAuth JSON (no success/data envelope). Errors use the standard error and error_description fields.

Usage

# Open this URL in the user's browser
https://lifebots.cloud/oauth/authorize?client_id=your_client_id&redirect_uri=https%3A%2F%2Fyourapp.com%2Foauth%2Fcallback&scope=read%3Aprofile%20bots%3Achat&state=xyz123

Path parameters

None.

Query parameters

NameTypeRequiredDescription
client_idstringyesYour application's client_id.
redirect_uristringyesMust exactly match a redirect URI registered on the app.
scopestringyesSpace-separated list of scopes.
statestringnoRandom value echoed back on the redirect. Check it to stop CSRF. Strongly recommended.
code_challengestringnoPKCE challenge: base64url(SHA-256(code_verifier)). Required for public apps.
code_challenge_methodstringnoS256 (recommended) or plain.

Example response

{
  "redirect": "https://yourapp.com/oauth/callback?code=AUTH_CODE&state=xyz123"
}

302 redirect to redirect_uri.

Lifebots symbol
Lifebots.cloud

Empowering Second Life experiences with intelligent bot automation and seamless group management solutions.

Product
Support
Company
Visit Us

© 2025 - 2026 LifeBots. Made with ❤️. All rights reserved.

LifeBots is not affiliated with Linden Research, Inc., or any of its affiliated entities or products, including, without limitation, Second Life (collectively, “Linden Lab”).

Initializing A New World of Second Life Bots...