The browser workspace
The browser workspace is an Ubuntu 24.04 terminal that runs for you and opens in your browser, with every tool the Foundations labs use already installed, from Technical foundations to Credentials and keys. Use it when you cannot set up a terminal on your own computer.
What it is
It is one Linux computer of your own, started when you open it and stopped when you leave. Your home folder, /home/learner, is saved between sessions; everything outside it starts fresh each time. It needs a verified email address and lab access on your account. If a Foundations lab with terminal steps does not offer Browser workspace as a choice, it is not available to your account, and your own terminal works for every lab.
It is a small computer, with a share of one processor and 256 MiB of memory, which is enough for every lab. Your programs can run up to 256 processes and threads at once. A command that tries to start more stops with an error such as fork: Resource temporarily unavailable, and the workspace itself keeps working.
Labs in later sections of the course, such as OAuth, do not offer it yet. Phones are not a lab target, so on a narrow screen it points you to your own terminal instead.
Opening it
On a Foundations lab page, choose Browser workspace where the lab asks for your computer, then press Open workspace. The terminal opens above the lab's tasks and stays there from one task to the next. The first time, read the workspace terms and accept them.
To work on files without a lab, open the full-page workspace from the account menu, or from Open full page beside the lab's terminal. It is the same workspace: opening it in a second tab or window moves it there, and the first one says so, so you never have two copies with different files.
Using it in a lab
While the workspace is chosen, the lab shows its Ubuntu steps, and where a step differs in the workspace, the workspace's own version. A step that says to open your terminal means the workspace's.
- A second terminal window. Press Ctrl+B, then ", to split the terminal in two. Ctrl+B then an arrow key moves between the halves, and
exitcloses one. - Your lab key. Read it in with
read -rs BTL_LAB_KEYas the labs show. It lives only in that shell, never in your saved files. Where a lab says to close the terminal window to remove it, rununset BTL_LAB_KEYinstead. - Lab files and the toolkit. The toolkit and lab file downloads work as the labs describe, and Node.js 22 is already installed. The workspace has its own home folder, so if you installed btl-lab on your own computer, do the Install the lab toolkit step of Building your identity lab toolkit in the workspace too. Labs that use btl-lab say so while the workspace is chosen.
Steps that need your own terminal
A few steps read things the workspace cannot reach, such as public DNS or a server's own certificate. They stay in the lab with a note saying why, shown while the workspace is chosen. Every one of them:
Look up the practice service with dig and report its addresses
- Setup. The browser workspace uses its own DNS resolver. Use your own terminal for this lab. In the workspace, skip the Walkthrough and first two Break it steps; the final rejection step still works.
Watch connections open, then type HTTP requests by hand
- Setup. The workspace cannot open this lab's direct connections. Use your own terminal. In the workspace, skip everything except Play the server for curl; the recorded request needs your own terminal.
Inspect a real certificate chain, script an expiry check and connect with TLS 1.2 and 1.3
- Setup. The browser workspace intercepts HTTPS, so this lab would inspect its certificate instead of the practice service's. Use your own terminal; if that is unavailable, skip the lab.
Read the certificate Lab Photos actually presents
- Setup. The workspace hands each web request to BTL, which answers its TLS handshake with a certificate of its own, so OpenSSL would save that one, not your lab tenant's.
- Summarize the certificate with a function. This step uses
tenant.pem, which only your own terminal can save: the workspace hands each web request to BTL, which answers its TLS handshake with a certificate of its own. - Test where its names stop. This step uses
tenant.pem, which only your own terminal can save: the workspace hands each web request to BTL, which answers its TLS handshake with a certificate of its own. - Offer it to Lab Photos as an authority. This step uses
tenant.pem, which only your own terminal can save: the workspace hands each web request to BTL, which answers its TLS handshake with a certificate of its own. - Separate the TLS key from the token keys. This step uses
tenant.pem, which only your own terminal can save: the workspace hands each web request to BTL, which answers its TLS handshake with a certificate of its own. - Break it. This step uses
tenant.pem, which only your own terminal can save: the workspace hands each web request to BTL, which answers its TLS handshake with a certificate of its own.
Build a chain and choose its trust anchor
- Split the chain Lab Photos sends. The workspace hands each web request to BTL, which answers its TLS handshake with a certificate of its own, so OpenSSL would split BTL's chain, not the one your lab tenant's host sends.
Time limits
- 240 minutes a day in sessions of up to 60 minutes. The day resets at midnight UTC, and the status line shows the time in your own time zone.
- 10 minutes without typing closes it. A warning appears after 8 minutes, and typing anything keeps it open.
- Closing the tab or the terminal stops it after a few minutes, and a program that keeps the processor fully busy for 15 minutes with no typing stops it too.
- All learners share a monthly allowance. If it runs out, the workspace says so and asks you to use your own terminal until it resets.
Each of these saves your files first. When a limit is reached, the workspace says which one and when it resets.
Your files
Files in your home folder are saved every few minutes while something changed, and when the workspace stops. The saved files can be up to 50 MB compressed. Over that, saving stops, the previous save is kept, and the workspace asks you to delete some files.
- Files, then Download my files downloads your home folder as a
.tar.gzarchive, which Windows, macOS and Linux open without extra software. - Files, then Earlier versions restores an earlier save: the end of each of your last 3 sessions and the last save of each of your last 7 days. Your current files are kept as a version first, so a restore can be undone.
- Files, then Reset workspace starts from a fresh computer and keeps your files, unless you choose to erase them too, which asks a second time.
Saved files are kept for 180 days after your last session and deleted with your account. They may hold a lab key or a tenant secret, so only you can download them.
What it can reach
The workspace sends web requests only to the course's own services: the practice service, your lab tenants, the toolkit and lab file downloads on this site, and the Node.js downloads. Anything else, including apt install, is refused with a short message, because the workspace already has every tool the labs need. It cannot open raw connections to the internet or ask public DNS servers.
The workspace hands each request to BTL, which checks where it goes and sends it on, so the certificate your tools see on the way out is BTL's, not the service's, and the workspace's own resolver gives every name an address. That is why the certificate and DNS steps above need your own terminal.
Sign-in redirects
Nothing on the internet can send a request into your workspace. A program that signs you in through your browser usually waits for the sign-in redirect on 127.0.0.1, which in your browser means your own computer, not the workspace. So the redirect comes back through this site instead: register https://beyondthelogin.dev/workspace/callback/8765/callback as the redirect URI, with the port and path your program listens on. Ports 8765 to 8799 work.
When the sign-in finishes, your browser opens that address. The page passes the path and query to the program on that port in your own workspace, and only while the workspace is running. You need to be signed in to Beyond the Login in the same browser, because the page only ever delivers to the signed-in account's own workspace. It says whether the redirect arrived and which HTTP status your program answered with, never what the program sent back, so check your terminal for the result.
A response sent after a # in the address, or posted as a form, cannot be passed on, so those steps need your own terminal, as do steps that teach how 127.0.0.1 redirects themselves work.
Keyboard and paste
Tab stays in the terminal for command completion. Press F6 to move to the workspace's controls and Shift+F6 to return to the terminal. One paste can hold up to 64 KB of text; a larger one is refused with a message.
Limits, Audit and privacy
Your profile's Usage tab shows the workspace's limits: minutes today, connections and starts per hour, file downloads, requests sent from the workspace and sign-in redirects delivered to it per minute, and the size of your saved files.
Starting and stopping it, accepting the terms, downloading, restoring and erasing files, and sign-in redirects that could not be delivered to it appear in your account activity and your home organization's Audit and Logs. Each delivered redirect appears in Logs only. The workspace records when you use it, when you type and how much of the computer it uses, never what you type or what the terminal shows. The Privacy Policy lists what is kept and for how long.