From 77ef004d5ac39e6f2276deaee0b7298fef27819f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 24 Jul 2022 16:35:06 +0300 Subject: add configuration variables --- README.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'README.md') 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. -- cgit v1.2.3