Follow the following steps to start configure your authentication endpoint and
start building your own security logic in Next.js’
A room can have
Permissions are then checked when users try to connect to a room. For security purposes,
the room permissions can only be set on the back-end through a REST API.
For instance, you can use the create room API
to create a new room with
read public access levels while giving
write access to specific users and groups.
userInfo can then be used in your React application as such: