How to limit openvidu-webcomponent participants

Hi all.
im using this demo to learn openvidu, really great job : https://docs.openvidu.io/en/2.14.0/tutorials/openvidu-webcomponent/

I would like to say, how to limit to 2 users the session.
In the code there is a declaration:

if(webComponent.getAttribute("openvidu-secret") != undefined && webComponent.getAttribute("openvidu-server-url") != undefined ){
       location.reload();
    }else {
        var token1 = await getToken(sessionName)
        var token2 = await getToken(sessionName);
        tokens.push(token1, token2);
        webComponent.sessionConfig = { sessionName, user, tokens };
}

But if another user goes in the same session, i can view on video.
What is wrong?
Thanks in advance
Emiliano

Don’t mistake token1 and token2 for number of users.
toekn1 is for video audio streaming and token2 is for screen sharing.
What you have to do is modify code so not more than 2 users can login.
Web component demo is open so there is no limit to number of users

Thanks. Sorry for mistake. im very novice on openvidu.
Emiliano

To limit 2 real participants for a session, you should to implement your own backend and only generate two pair of tokens.

Thanks, im following that way.
Great support.
Thanks again.
Emiliano