JWT authentication : redirection with room name

I’m using JWT authentication and I set tokenAuthUrl to the URL I want my user to login. How I’m supposed to redirect my user to the room after the authentication ?
Is there a way to pass the room name to my login page, so I create a new URL with the room name + the jwt ?

I have not tried this, but if I am reading the code correctly, you can use a {room} placeholder text in your url which will be replaced by the room name on redirect.

So if you set tokenAuthUrl="https://mysite.com/auth?room={room}" your users will be redirected to https://mysite.com/auth?room=RoomName. Your auth site can then send the user back to https://meet.domain/RoomName?jwt=... on successful auth.

1 Like