You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whether anonymous visitors may browse an instance is controlled by an explicit administrator setting, not by the canonical instance URL. A fresh or unconfigured instance is private by default.
8
+
9
+
## Behavior
10
+
11
+
When public access is **disabled** (the default):
12
+
13
+
- Anonymous visitors are redirected to the sign-in page in the web UI.
14
+
- Anonymous API requests are limited to setup, sign-in, sign-up, identity-provider discovery, and share-token routes.
- Anonymous visitors may browse public memos in Explore and public user profiles.
21
+
- Attachments linked from public memos and user avatars are served without authentication.
22
+
- RSS feeds for public memos are available.
23
+
24
+
Authenticated users are never restricted by this setting. Memo visibility (public, protected, private) continues to be enforced independently. Share-token routes keep working on private instances.
25
+
26
+
## Configuration
27
+
28
+
Toggle **Settings > System > Access > Allow public access** as an administrator. The change takes effect immediately after saving; no restart is required.
29
+
30
+
Deployment-managed instances (a `memos-instance-setting-GENERAL.json` file in `/etc/secrets`) reject changes to the whole GENERAL setting with a failed-precondition error, as with the other options on that page.
31
+
32
+
## Relationship to `MEMOS_INSTANCE_URL`
33
+
34
+
`--instance-url` / `MEMOS_INSTANCE_URL` remains the canonical URL used for link generation, OAuth redirect URLs, RSS enclosure URLs, and deployment metadata. It no longer influences access control. You can:
35
+
36
+
- Keep the instance private while still configuring a canonical URL.
37
+
- Allow public access without configuring a canonical URL, although a canonical URL is recommended so generated links are stable.
38
+
39
+
## Upgrade note
40
+
41
+
Earlier releases treated a non-empty instance URL as permission for anonymous access. After upgrading, such instances remain configured with the URL but become private until an administrator enables **Allow public access**.
0 commit comments