summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2022-07-24 16:35:06 +0300
committerAndrew Dolgov <[email protected]>2022-07-24 16:35:06 +0300
commit77ef004d5ac39e6f2276deaee0b7298fef27819f (patch)
treee49fad8ffd77e04a94ba3d6caaf9a16c4f9d452f /README.md
parent2634afed889eea33eefd24629d21cadc09e80818 (diff)
add configuration variables
Diffstat (limited to 'README.md')
-rw-r--r--README.md33
1 files changed, 33 insertions, 0 deletions
diff --git a/README.md b/README.md
index e69de29..8552cd5 100644
--- a/README.md
+++ b/README.md
@@ -0,0 +1,33 @@
+# OIDC authentication plugin
+
+This is a system plugin, it has to be enabled globally through `TTRSS_PLUGINS`.
+
+Sample Authelia configuration:
+
+```yml
+identity_providers:
+...
+- id: test-ttrss
+ secret: your-secret-token
+ public: false
+ scopes:
+ - openid
+ - email
+ - profile
+ redirect_uris:
+ - "https://example.com/tt-rss"
+ userinfo_signing_algorithm: none
+ #pre_configured_consent_duration: 30d
+```
+
+Plugin configuration (`.env`):
+
+```properties
+TTRSS_AUTH_OIDC_NAME=Authelia
+TTRSS_AUTH_OIDC_URL=https://auth.example.com/
+TTRSS_AUTH_OIDC_CLIENT_ID=test-ttrss
+TTRSS_AUTH_OIDC_CLIENT_SECRET=your-secret-token
+```
+
+If everything is configured correctly, another login button will appear on the login form, which
+you can use to log in through OpenID.