So correct me if I'm wrong, but reading thru the docs I understood the next parts:
1. BBB needs it's own dedicated server to run
2. Front/Back 3rd party app should be hosted on another server
So after much trouble with my router to setup BBB, I decided simply to buy virtual server on digitalocean.
So I will be using BBB API only (no greenlight, as I will develop my own frontend).
So questions I got are these:
1. Do I really need to host my frontend on another server? So my website would be on
example.com, and bbb will be on
bbb.example.com? Or this isn't necessary, and I can somehow setup everything to be on
example.com?
2. Since my BBB server is hosted on
bbb.example.com, how can I make development environment from localhost? I can fetch the routes, but having trouble with /join, since it's returning html.
3. If I put redirect=false on /join, I get the url, but when I redirect to url, it says 401.
4. I figured out that I need JSESSSIONID cookie, but I have to get it from 'set-cookie' header (shouldn't this be returned as response field when redirect is false).
5. Since I'm on localhost, set-cookie doesn't work from localhost to
bbb.example.com, so is there a way I can bypass this?
Main question: how can I develop from localhost when I need to set JSESSIONID on
bbb.example.com?
P.S.: On /join, with redirect=false, when password is incorrect, it returns html.