• Resolved geotraveler

    (@geotraveler)


    I know there is a way to generate Agora tokens which make sessions unique.

    Is there a way to access this token generation through WordPress and load a unique instance via a URL?

    For example, when I schedule a Zoom meeting, a unique url with the token is generated which is sent to the participants.

    Right now, anyone who is logged in can access our link to our Agora video chat.

    But we want to be able to generate unique instances/sessions such as https://www.our-website.com/agora-video?7693e1963e98997

    For example, there is a plugin that allows people to book and pay for appointments and then a unique Zoom link is auto-generated and emailed to them.

    Any ideas on how we could approach this with the Agora plugin? Do we need to pass parameters through the URL (i.e. channel id, etc)

    Any guidance would be greatly appreciated, thanks!

Viewing 1 replies (of 1 total)
  • Plugin Contributor hermesf

    (@hermesf)

    hi @geotraveler,

    Technically this is possible. There are some modifications that would need to be made for this to happen.

    The token generation happens within scripts-common.php. It uses $channelName = $channel->title(); to set the channel name for the token generation. This code would need to be modified to get a URl parameter for the channel name instead of the channel name entered within the WP body.

    This modification does come with some security concerns along with logistical questions of when to use the URl parameter and when to use the ID entered into the page.

    I think this is a great feature request, please file it on the plugin’s GitHub page.

Viewing 1 replies (of 1 total)
  • The topic ‘Generating unique tokens / urls’ is closed to new replies.