BigBlueButton集成-“身份验证由于缺少凭据而失败." [英] BigBlueButton integration - “Authentication failed due to missing credentials.”

查看:102
本文介绍了BigBlueButton集成-“身份验证由于缺少凭据而失败."的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在分析将BigBlueButton集成为现有网站的一部分.因此,我们尝试了

那么我们如何将BigBlueButton集成在一个有角度的站点中?

如果有人即使共享URL也能帮助我理解,如何确保只有我们网站中的授权用户才可以加入会议?

在我们的应用程序中,后端API是.NetCore,前端是Angular.

解决方案

因为浏览器中存在此第三方Cookie阻止功能,导致阻止保存身份验证数据的bbb cookie出现.

根据此 Github问题,有可能的解决方法:

  1. /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties 中,将 allowRequestsWithoutSession 设置为 true

  2. 使用nginx的 proxy_cookie_path

我只使用#1解决方法将bbb房嵌入到iframe中,所以我无法解释其他细节.

We are analyzing to integrate BigBlueButton as part of our existing web site. So we tried the APIs available in https://mconf.github.io/api-mate/ .

Especially, we used api/create to create meeting and tried to join the meeting as moderator using the following API

http://test-install.blindsidenetworks.com/bigbluebutton/api/join?fullName=User+680453&meetingID=random-3862462&password=mp&redirect=true&checksum=ea0fb12ed57128bfd5b1e1a2b56625f5273a04b6 and it is working as expected. We are able to join the meeting.

Since the requirement here is to integrate the BigBlueButton as part of existing web site, we set the redirect a false as below

http://test-install.blindsidenetworks.com/bigbluebutton/api/join?fullName=User+680453&meetingID=random-3862462&password=mp&redirect=true&checksum=ea0fb12ed57128bfd5b1e1a2b56625f5273a04b6 and got the response as given below

<response>
    <returncode>SUCCESS</returncode>
    <messageKey>successfullyJoined</messageKey>
    <message>You have joined successfully.</message>
    <meeting_id>92e808d77b86f2d0db55ef3cc0d222340849726-1597920882558</meeting_id>
    <user_id>w_b2zox8uw2zbs</user_id>
    <auth_token>uxremaweed4o</auth_token>
    <session_token>kpu6clqlz0gavo</session_token>
    <guestStatus>ALLOW</guestStatus>
    <url>https://t008.rna1.blindsidenetworks.com/html5client/join?sessionToken=kpu6clqlz0gavo</url>
</response>

Later then we tried to iframe the url

<iframe src="https://m067.rna1.blindsidenetworks.com/html5client/join?sessionToken=kpu6clqlz0gavo"></iframe>

When I opened the html file, it is throwing "Authentication failed due to missing credentials." error as given below

So how do we integrate BigBlueButton in a angular site?

Also, if someone help me to understand even if the URL is shared, how to ensure only the authorized users in our web site is able to join the meeting?

In our application backend API is .NetCore and front end is Angular.

解决方案

Because there's this Third-party Cookie Blocking in the browser that leads the bbb's cookie which holds the auth data blocked.

according to this Github Issue there's possible workaround:

  1. In /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties set allowRequestsWithoutSession to true

  2. Use nginx's proxy_cookie_path

I've only used the #1 workaround to embed my bbb room inside an iframe, so I couldn't explains more detail about the other.

这篇关于BigBlueButton集成-“身份验证由于缺少凭据而失败."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆