> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superdev.build/llms.txt
> Use this file to discover all available pages before exploring further.

# Authentication

> How to use the authentication in Buildy

Every Buildy project comes with a built-in authentication system by default.

**What does it mean?**
It means that by default, when you create a new app, Buildy will create a new entity called "User", and a dedicated page for authentication.

<AccordionGroup>
  <Accordion title="What authentication methods are supported?">
    Buildy currently supports only Google OAuth authentication. We're working on adding more authentication methods in near the future.
  </Accordion>

  <Accordion title="How do I customize the authentication UI?">
    You can customize the authentication UI through the "Authentication" tab in the app dashboard. This includes:

    * App name and logo
    * Welcome message
    * Color scheme
    * Footer text
    * Social login buttons
  </Accordion>

  <Accordion title="Can I restrict access to my app?">
    Yes, you can control app access through the "App Settings" section:

    * Make it public
    * Make it public but with login required
    * Make it private (invite-only)
  </Accordion>

  <Accordion title="How do I manage user roles and permissions?">
    The User entity comes with a default "role" field that you can use to manage permissions. You can:

    * Add custom roles (default roles are: "administrator", "user"). You can ask the AI to add more roles.
    * Set RLS (Row Level Security) to control access to every entity.
    * Manage user permissions through the dashboard.
  </Accordion>
</AccordionGroup>
