-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Room via Nextcloud -> Scalelite -> BBB does not work #47
Comments
Thanks for the nice bug report. The issue is the way chrome handles redirects from forms. The only solution would be to have another forwarding page, which forwards the user via js. So form -> "Welcome foo" -> bbb. I think that would be easy to implement in conjunction with #23, but I'm currently working on other sponsored features. A pull request would very much appreciated. |
The solution here is probably to just include the BigBlueButton server in Nextcloud's content security policy for |
look here - same site policy issue: https://github.com/ramezrafla/spreed-bigbluebutton/issues/5 |
We include a custom form-action, but in the case of a loadbalancer this doesn't work, because we don't know every forwarded domain. E.g. There could instances be created on the fly. The only other option, compared to the above, would be to add a wildcard. |
It possible adjust the form-action policy to the domain? Ex: cloud.domain.abc -> domain.abc. |
We could enter a wildcard domain, but this seams more like a hack, because you don't have to use the same domain (even if this is probably most often the case). |
Describe the bug
The app works without any problem and I am able to share a started room by URL-sharing, but only if the app is configured to use a BBB-server directly. But with several BBB-servers, load balanced behind a Scalelite-server, it is not possible to enter a started room by URL-sharing.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
After entering a guest-name in the Nextcloud-form, shown using the shared link, then submitting the form, the expected behavior is to then enter the BBB-server / the webinar-room were the already started meeting is running.
System:
Javascript log:
Refused to send form data to 'https://bbb002.ourdomain.de/' because it violates the following Content Security Policy directive: "form-action 'self' https://scale.ourdomain.de".
Additional context
The server
scale.ourdomain.de
is the Scalelite-server. From there the session is forwarded to the BBB-serverbbb002.ourdomain.de
where the meeting was placed by Scalelite, and was already started by the room owner.The URL / the domain of the Nextcloud server is not
ourdomain.de
, but different, for examplemydomain.de
. So the overall chain of servers involved is:nc.mydomain.de
, callingscale.ourdomain.de
, forwarding tobbb002.ourdomain.de
The text was updated successfully, but these errors were encountered: