Users
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. |