You can use the Liveblocks API in test mode, which does not affect your live data. The API key you use to authenticate the request determines whether the request is live mode or test mode.
If the current user has access to the provided room, call this function from your authorization endpoint and returns the result as a http response.
Optionally, you can also pass a
userInfo to add information about
the current user that will not change during the session. This information will
will be accessible in the client to all other users in
Room.getOthers. It can be helpful to implement avatars or display the user’s name without introducing a potential impersonification security issue.
userIdcannot be longer than 128 characters.
userInfocannot be longer than 1024 characters once serialized to JSON.