about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2022-09-19 17:30:38 +0300
committerVika <vika@fireburn.ru>2022-09-19 17:30:38 +0300
commit66049566ae865e1a4bd049257d6afc0abded16e9 (patch)
tree6013a26fa98a149d103eb4402ca91d698ef02ac2 /README.md
parent696458657b26032e6e2a987c059fd69aaa10508d (diff)
feat: indieauth support
Working:
 - Tokens and codes
 - Authenticating with a password

Not working:
 - Setting the password (need to patch onboarding)
 - WebAuthn (the JavaScript is too complicated)
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 5 insertions, 6 deletions
diff --git a/README.md b/README.md
index aa533b2..85f0e70 100644
--- a/README.md
+++ b/README.md
@@ -72,12 +72,7 @@ in {
     kittybox.nixosModules.default
   ];
   
-  services.kittybox = {
-    enable = true;
-    # These will not be required in future versions.
-    authorizationEndpoint = "https://indieauth.com/auth";
-    tokenEndpoint = "https://tokens.indieauth.com/token";
-  };
+  services.kittybox.enable = true;
 }
 ```
 
@@ -98,6 +93,10 @@ Set the following environment variables:
    files uploaded via the media endpoint.
    - To use flat files, use `file://` and append an absolute path to
      your folder like this: `file:///var/lib/kittybox/media`
+ - `AUTH_STORE_URI`: Storage for authentication-related data (tokens,
+   authorization codes etc.)
+   - To use flat files, use `file://` and append an absolute path to
+     your folder like this: `file:///var/lib/kittybox/auth`
 
 Additionally you can customize the `SERVE_AT` environment variable to
 customize where Kittybox will listen to requests.