How to display Exit page to different users group?

{
“context”: {
“user”: {
“avatar”: “https://domain.com/_avatar.png”,
“name”: “Admin”,
“email”: "domain@domain.com",
“id”: “yd-12345-abcde”
},
“group”: “group-1234”
},
“aud”: “*”,
“iss”: “yd-12345-abcde”,
“sub”: “domain.com”,
“room”: “abcdefg”,
“exp”: 2552500001
}

I want different pages to open on exit or when user leave the conference for feedback and Survey. I will have 3 different groups and I want that when each users from respective group ends the call or conference, they get specific page (survey/feedback page) opened designed for specific group user.
In this case the scenario will be:
Token 1:
{
“context”: {
“user”: {
“avatar”: “https://domain.com/_avatar.png”,
"name": “Admin”,
** “email”: "domain@domain.com",**
“id”: “yd-12345-abcde”
},
"group": "group-1234"
},
“aud”: “",
“iss”: “yd-12345-abcde”,
“sub”: “domain.com”,
“room”: “abcdefg”,
“exp”: 2552500001
}
On conference Exit, open : https://domain.com/survey1.php
Token 2:
{
“context”: {
“user”: {
“avatar”: “https://domain.com/_avatar.png”,
"name": “User1”,
** “email”: "user1domain@domain.com",**
“id”: “yd-12345-abcde”
},
"group": "group-5678"
},
“aud”: "
”,
“iss”: “yd-12345-abcde”,
“sub”: “domain.com”,
“room”: “abcdefg”,
“exp”: 2552500001
}
On conference Exit, open : https://domain.com/survey2.php
Token 3:
{
“context”: {
“user”: {
“avatar”: “https://domain.com/_avatar.png”,
"name": “user2”,
** “email”: "user2domain@domain.com",**
“id”: “yd-12345-abcde”
},
"group": "group-9012"
},
“aud”: “*”,
“iss”: “yd-12345-abcde”,
“sub”: “domain.com”,
“room”: “abcdefg”,
“exp”: 2552500001
}
On conference Exit, open : https://domain.com/survey3.php

What steps to be needed and where to make changes?

Interesting question! You will need to check the groups around here: https://github.com/jitsi/jitsi-meet/blob/c6e5adbe0ef6092fcb9b2eb69ca6a5b8f5c2ff45/conference.js#L223 which is where the redirect happens. Good luck!

@saghul will this work for app too? I mean Android and iOS?

No, the app does not currently request for feedback, and it doesn’t navigate to other pages.

yup this is what I was seeing… :thinking:

Is there anyway to put in js file that hanging up the conference in app opens the page in web browser?

Everything is possible, if you modify the code :slight_smile: You will have to figure out how to do it on your own, sorry, as I have no time to investigate this.

But this is page redirection for GUEST or Non-Guest. How can we make it redirect for if group-5678 opens close.html or if group-9012 opens close2.html ? Because I am using JWT Tokens, I can’t allow Guests to anonymously enters the room without token.