AgentLabs - Docs
  • Introduction
    • What is AgentLabs?
    • Get Started with AgentLabs
    • Pricing
  • Getting Started
    • Installation
    • Secret Key
    • Using the SDK
  • Core Concepts
    • Frontend as a service
    • User Authentication
    • Project
    • Agents
    • Messages
      • Messages Format
      • One-off vs Stream
      • Typewriter animation
    • Attachments
  • Recipes
    • Before we start
    • Ping-Pong
    • ChatGPT with LangChain
    • Code Interpreter
    • Mutli-Agent with AutoGen
  • 🧙Community
    • Github
    • Discord
    • Support team
Powered by GitBook
On this page
  • Authentication methods
  • Authentication request
  • Managing your users
  1. Core Concepts

User Authentication

What you must know about authentication

PreviousFrontend as a serviceNextProject

Last updated 1 year ago

As we said previously, AgentLabs allows you to manage and authenticate your users.

Authentication methods

AgentLabs lets you configure the authentication methods you want to register and sign in your users.

You can configure basic email methods and different oauth2 providers.

The methods you configure will be available to your users.

You can configure them from your .

Authentication request

Once you've configured your auth methods, you can request authentication from your users simply using our SDK.

agent.request_login(
   conversation_id="your-conversation",
   text="Please login to access this feature"
)
agent.requestLogin({
   conversationId: "your-conversation",
   text: "Please login to access this feature"
})

The snippet above will trigger the following in-chat authentication component.

Managing your users

Then, you can manage all your application users from your admin console.

The current auth methods set is limited but we'll rollout more methods as we go

🚀
admin console
Configuring authentication methods
Asking for in-chat authentication
User management dashboard