I’m trying to generate a JSON Web Token to connect to the private version of jitsi:
https://jaas.8x8.vc/
Since the Token I use needs to be renewed, how can I generate one from bubble.io so that I can use it on my application?
Is there a service or functionality in bubble.io where I can send the header and body and I can get a valid JWT?
Jici
2
Can you provide link to API Doc?
It’s not an API like Twilio, it’s an embedded iframe which needs the JWT in it.
Here is the documentation for the JWT usage:
And here the embedded iframe im trying to use:
<!DOCTYPE html>
<html>
<head>
<script src='https://8x8.vc/external_api.js' async></script>
<style>html, body, #jaas-container { height: 100%; }</style>
<script type="text/javascript">
window.onload = () => {
const api = new JitsiMeetExternalAPI("8x8.vc", {
roomName: "ROOM-NAME",
parentNode: document.querySelector('#jaas-container'),
jwt: "JWT-TOKEN"
});
}
</script>
</head>
<body><div id="jaas-container" /></body>
</html>
Hello, we are currently building a plugin for exactly this use case (generating JWT for Jitsi as a Service).
Cheers,
Noel