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

# Authorize user

> Use this action to authorize your users with Liveblocks. It returns an ID token that you'll use for future actions with the plugin.

### Fields

The following fields are available in this action:

| **Field**       | **Type** | **Description**                                                                                                  |
| --------------- | -------- | ---------------------------------------------------------------------------------------------------------------- |
| **User ID**     | Text     | The user's ID, which can be any unique string. You can use Bubble's unique ID for this parameter.                |
| **Room ID**     | Text     | The room for which the user should be authorized.                                                                |
| **Permissions** | Dropdown | Defines the permission type for the room. Options: **FULL\_ACCESS** (view/edit) or **READ\_ACCESS** (view only). |

### Returned Values

The following values are returned by the action:

| **Value**    | **Type** | **Description**                                           |
| ------------ | -------- | --------------------------------------------------------- |
| **ID Token** | Text     | The ID token returned after authorizing the user.         |
| **Error**    | Yes/No   | Indicates whether an error occurred during authorization. |
| **Message**  | Text     | Displays the error message if an error occurs.            |
| **Status**   | Number   | The status code returned from the authorization action.   |

***

<CardGroup cols={2}>
  <Card title="Need Help?" icon="envelope" href="/support/plans">
    View our options for free community and priority support.
  </Card>

  <Card title="Have a feature request?" icon="lightbulb" href="https://lunchpaillabs.canny.io/feature-requests?selectedCategory=liveblocks-plugin-for-bubble">
    Post your feature request on our

    <a href="https://lunchpaillabs.canny.io/feature-requests?selectedCategory=liveblocks-plugin-for-bubble">
      idea board.
    </a>
  </Card>
</CardGroup>
