OpenCloud · Guest access
Guests without an account: access by email link
Until now, working with external people meant choosing between an anonymous public link and a full account. OpenCloud 9.0.0 adds guest access: you enter an email address in the share dialog, the guest receives a personal link that is valid for 30 minutes and works only once, and then works in the browser for 24 hours without a password. Every access is tied to an email address and can be revoked at any time. The feature is off by default and is enabled with `OC_ENABLE_GUEST_LINKS=true`.
An architecture firm sends drawings to the structural engineer, a law firm exchanges drafts with opposing counsel, a public agency collects documents from an outside expert. In each case the other side is not in your own directory, yet they need to work on the same files for weeks. Until now there were two ways to do that, and neither fit well.
A public link is quick to create, but it is anonymous. Anyone who has it gets in, whether that's the structural engineer, the colleague he forwarded the email to, or someone who found the link in a chat history. A password on the link changes little, because it is the same for everyone who knows the link and can be passed on just as easily. If someone later asks who opened the drawings, there is no answer.
A full account answers that question, but it asks a lot. IT has to create it, the external person needs yet another password that they will forget and have to reset, the directory fills up with profile data of someone who isn't part of the organization, and after the project someone has to remember to delete the account. For a collaboration of a few weeks that is too much, which is why people end up using the public link anyway.
Guest invitations by email
OpenCloud 9.0.0 adds a third way. In the share dialog you enter the external person's email address, pick the entry marked “(Guest)”, choose a role from “Can view” to “Can edit”, and share. The guest receives an email with a personal link, opens it in the browser and sees the shared file or folder. Nobody creates an account, and there is no password.

Right-click the folder, then “Share”. 
Enter the address and pick the entry marked “(Guest)”. 
Choose a role, here “Can edit”. 
The guest is listed under “Shared with”, with role and, if set, expiration date. 
The guest receives an email with a personal link.
The access is still secure, because control of the mailbox serves as proof. Whoever can open the link received the email at that address. The only thing stored about the person is the email address, which also serves as their identifier in OpenCloud. In the share dialog it appears in the list of people with access, with role and, if set, expiration date. In the activity log the guest appears with their address, so you can trace who edited a file. If an address you enter already belongs to an internal account, OpenCloud suggests that account instead of a guest.

The activity log lists the guest by address, here after uploading a new version of a drawing (OpenCloud 9.0.0, demo data).
The 9.0.0 release notes compare the three options side by side. The public link is meant for sending or collecting files once and identifies nobody. The account is for your own team's daily work. Guest access is built for ongoing collaboration with an external partner you know by name, and needs nothing more than an email address.
| Public link | Guest access | Account | |
|---|---|---|---|
| Intended for | Sending or collecting once | Ongoing work with known externals | Daily work in your own team |
| Who gets in | Anyone who has the link | Whoever controls the mailbox | The signed-in person |
| Passing it on | Link and password can be forwarded | Link works only once, PIN only in the guest's own browser | Password is personal |
| Password | Optional, the same for everyone | None | Personal |
| In the activity log | Not attributable to anyone | With email address | With name |
| Personal data | None | Only the email address, deleted with the share | Profile in the directory |
| What can be shared | Files, folders, spaces | Files and folders | Files, folders, spaces |
| Clients | Browser | Browser only | Browser, desktop, mobile |
| Validity | Until expiration date or deletion | 24-hour session, renewable as long as the share exists | Permanent |
| Effort for IT | None | Enable once, email delivery required | Create the account and delete it later |
| Ending access | Delete the link | Remove the share, takes effect immediately | Lock or delete the account |
Magic links as the model
The design was prompted by an article by Schlomo Schapiro, “Static Website Authentication with Magic Link Made Easy”, from May 2025. In it he describes how he made a conference program available only to registered attendees. All he knew about them was the email address from registration, and he made exactly that the key: anyone who wants access gets a link by email that is valid for about 15 minutes. Clicking it sets a signed cookie that JavaScript cannot read, and that keeps the session alive. There are no passwords, no database, and nothing is collected beyond the email address. Schapiro writes that dropping passwords was much easier than he had feared.
OpenCloud adopted the core of this: the email address as the only piece of personal data, a short-lived link in the mailbox as proof, and after that a session in a signed cookie that scripts cannot read. In three places, collaborating on files demands more than a conference program, and there the implementation goes further.
First, the server should know who the guest is. Schapiro's session deliberately says only “signed in”, because for a program booklet it doesn't matter who reads it. With guest access, by contrast, the session carries the share it belongs to, and behind the share is the email address. That is exactly what sets it apart from a public link.
Second, every link is valid only once. Schapiro accepts that a forwarded link also works for the recipient, and justifies this with the modest requirements of a conference program. For contracts or construction drawings that is not enough. In OpenCloud a link becomes invalid on the first click and expires after 30 minutes if nobody uses it. Forwarding a used link to someone else does not give them access.
Third, the session has to end and be renewable without the guest starting over every day. That is what the PIN is for, described in the next section.
The data stays as minimal as in Schapiro's setup. The auth-guest service stores one record per share, which holds only hashes of the link, PIN and browser nonce, with the PIN as an argon2id hash. When the share is removed or expires, the service deletes the record.
30 minutes, 24 hours, PIN
Three time limits shape the guest's day. The link from the invitation is valid for 30 minutes and only once; this duration is hard-coded and not configurable. When the guest opens it, a 24-hour session begins, which admins can adjust via AUTH_GUEST_JWT_TTL. While it runs, the guest can get back in through the already used link, as long as it's the same browser.
Fifteen minutes before the session ends, the web interface shows a notice. If the guest requests a PIN, they receive a six-digit number by email, enter it and keep working without interruption. By default the PIN is valid for 30 minutes (AUTH_GUEST_PIN_AND_NONCE_TTL) and is bound to the browser in which it was requested: a cookie with a nonce, sent only over HTTPS, has to accompany the entry. Anyone who enters the PIN from an intercepted email in a different browser will fail.

Before expiry, the notice appears with “Request PIN”. 
The PIN arrives by email, together with a new link. 
Enter the PIN, click “Continue”, keep working.
If the session has already expired, OpenCloud opens a renewal page and sends a new link to the stored address. So as long as the share exists, the guest doesn't have to write to the colleague who invited them.

Without a valid session, the old link leads to this page, and the new link is already on its way (OpenCloud 9.0.0).
Because these endpoints can be reached without signing in, they are rate-limited. After five wrong PINs (AUTH_GUEST_BACKOFF_MAX_ATTEMPTS) the PIN becomes invalid, and the wait between attempts grows exponentially from one to 30 seconds. Renewals without a valid session are limited to one per minute and 50 per day per share (AUTH_GUEST_QUOTA_COOLDOWN, AUTH_GUEST_QUOTA_DAILY_CAP). The developers deliberately set the daily value above 48, the number of 30-minute windows in a day, so that someone who only knows the share's identifier cannot lock the guest out by deliberately exhausting the quota. As long as the newest link is still unused and valid, such a request has no effect. Renewals with a session, which generate a new PIN, are limited to one per five minutes and five per day (AUTH_GUEST_SESSION_QUOTA_COOLDOWN, AUTH_GUEST_SESSION_QUOTA_DAILY_CAP). This also limits how many PINs someone with a stolen session can try. None of these limits apply to the link from the email.
Revocation, expiry and permissions
The person who shared can change the guest's role, set an expiration date or remove the share at any time. Removal takes effect immediately, even if the guest currently has a valid session, because OpenCloud checks on every guest request whether the associated share still exists. After the expiration date, no new links are issued. Copies the guest has already downloaded stay with the guest, as the user documentation also points out.
In the default configuration, the roles Admin, Space Admin and User may invite guests. The permission is called “Invite guests by email” (Shares.GuestMailWrite) and can be removed from roles if only certain people should share externally.
What matters for data protection officers is that guest access gets by with a single piece of personal data. After the project ends, nobody has to clean up a profile or directory entry. Whatever OpenCloud stores about the guest is attached to the share and disappears with it.
Setup and limitations
Guest access is off by default in 9.0.0. You enable it with OC_ENABLE_GUEST_LINKS=true. It requires working email delivery, meaning an SMTP configuration and a running notifications service, because without email neither the link nor the PIN reaches the guest. If you upgrade from 8.x, you first have to migrate the configuration so that opencloud.yaml contains the auth_guest.service_account settings; otherwise the auth-guest service won't start and the container keeps restarting. Sessions are signed with a key derived via HKDF from OC_JWT_SECRET. Rotating that secret ends all guest sessions.
There are some limitations you should know about. Guests work only in the browser; desktop and mobile clients are not available to them. Files and folders can be shared, spaces cannot. An expiration date is possible but not required; a default maximum age for guest shares is still open. Signing out, available since 9.1.0, deletes the cookie in the browser, but the signed session itself stays valid until it expires, because the server doesn't store it. If you want to end access immediately, remove the share.
Also, 9.0.0 is a rolling release. The documentation advises against running such versions in production. 9.1.0 and 9.2.0 have already fixed a number of bugs, for example in how the guest session interacts with vaults and versions, or in the capitalization of email addresses. If you want to try guest access, use the latest version.
Sources
- Release v9.0.0, GitHub, 2026-10-27
- Release v9.1.0, GitHub, 2026-11-11
- Epic: Share with externals via Mail-temp Pin, GitHub, 2026-03-23
- Discuss/Define authentication mechanism for "magiclinks", GitHub, 2026-03-24
- feat(guestlinks)!: auth-guest service, GitHub, 2026-10-06
- Guest invite, GitHub, 2026-09-29
- feat: Guest auth, GitHub, 2026-10-14
- Add "guestlinks" authmanager, GitHub, 2026-10-01
- auth-guest README, GitHub, 2026-12-04
- Set Up the Guest Feature, OpenCloud Docs, 2026-12-04
- Guest Access, OpenCloud Docs, 2026-12-04
- Upgrading to OpenCloud 9.x.x, OpenCloud Docs, 2026-12-04
- SCOPE.md, GitHub, 2026-12-04
- Static Website Authentication with Magic Link Made Easy, Schlomo Schapiro, 2025-05-12