forge
Explore
Log in

Don't you dare go Hollow

README scopes include files.service

Browse files at this commit

a8aaba7ef98969b43b58ddcbfe7298c0fb66de78Ahmet Kaan GümüşParent: cef009c
  • docs
    • README scopes include files.service
    • http issuer for local tests
Show full message
📝 docs: README scopes include files.service; http issuer for local tests
README.mdmodified+4 -4
@@ -38,7 +38,7 @@ Keys:
38 | `listen` | HTTP listen address. Keep it on `127.0.0.1` behind the reverse proxy. |38 | `listen` | HTTP listen address. Keep it on `127.0.0.1` behind the reverse proxy. |
39 | `base_url` | Public URL used in links and mail. `https://` or `http://`, no trailing slash. |39 | `base_url` | Public URL used in links and mail. `https://` or `http://`, no trailing slash. |
40 | `trusted_proxies` | Peers whose `X-Forwarded-For` is trusted for client IPs. IPs or CIDR networks. |40 | `trusted_proxies` | Peers whose `X-Forwarded-For` is trusted for client IPs. IPs or CIDR networks. |
41-| `[oidc]` | `issuer` (the `im` origin, `https://`, no trailing slash), `client_id`, `client_secret_file`. Remove the section to run without sign-in. |41+| `[oidc]` | `issuer` (the `im` origin, no trailing slash; `https://` outside a local test), `client_id`, `client_secret_file`. Remove the section to run without sign-in. |
42 | `[in_store]` | `enabled`. Stores attachments in the `in` Files service instead of local disk. Off by default. |42 | `[in_store]` | `enabled`. Stores attachments in the `in` Files service instead of local disk. Off by default. |
43 | `[backup]` | `dir` (backup sets go here), `interval_hours` (1 to 720, default 24), `keep` (1 to 365, default 14), `healthcheck_url` (optional, pinged after each good backup). Remove the section to turn scheduled backups off. |43 | `[backup]` | `dir` (backup sets go here), `interval_hours` (1 to 720, default 24), `keep` (1 to 365, default 14), `healthcheck_url` (optional, pinged after each good backup). Remove the section to turn scheduled backups off. |
44 44
@@ -107,7 +107,7 @@ im client add --name iz --family-key iz \
107 --redirect-uri https://iz.example.com/auth/callback \107 --redirect-uri https://iz.example.com/auth/callback \
108 --post-logout-uri https://iz.example.com/ \108 --post-logout-uri https://iz.example.com/ \
109 --backchannel-uri https://iz.example.com/auth/backchannel-logout \109 --backchannel-uri https://iz.example.com/auth/backchannel-logout \
110- --scopes "openid profile email directory.read"110+ --scopes "openid profile email directory.read files.service"
111 ```111 ```
112 112
113 Replace `https://iz.example.com` with your `base_url`. If the flags differ, run `im client add --help`.113 Replace `https://iz.example.com` with your `base_url`. If the flags differ, run `im client add --help`.
@@ -115,8 +115,8 @@ Replace `https://iz.example.com` with your `base_url`. If the flags differ, run
115 - `im` prints `client_id` and `client_secret`. The secret is shown once. Save it into the file named115 - `im` prints `client_id` and `client_secret`. The secret is shown once. Save it into the file named
116 by `client_secret_file`, mode `0600`, owned by `iz`.116 by `client_secret_file`, mode `0600`, owned by `iz`.
117 - `im` generates the `client_id` itself. Copy the printed value into `client_id` in `iz.toml`.117 - `im` generates the `client_id` itself. Copy the printed value into `client_id` in `iz.toml`.
118-- The scopes must include `openid profile email` for sign-in and `directory.read` for the people118+- The scopes must include `openid profile email` for sign-in, `directory.read` for the people
119- directory.119+ directory and `files.service` when attachments are stored in `in`.
120 - The redirect, post-logout and back-channel URLs are the paths iz serves: `{base_url}/auth/callback`,120 - The redirect, post-logout and back-channel URLs are the paths iz serves: `{base_url}/auth/callback`,
121 `{base_url}/` and `{base_url}/auth/backchannel-logout`.121 `{base_url}/` and `{base_url}/auth/backchannel-logout`.
122 122