diff options
| author | 2020-06-19 23:01:19 +0200 | |
|---|---|---|
| committer | 2020-06-19 23:01:19 +0200 | |
| commit | 5c9d6a5396eb43739eb1c17540228c20a16f4554 (patch) | |
| tree | 910049573ec011c18d3ca90510875d89780eacec /docs/en/admins/09_AccessControl.md | |
| parent | baaef3d9f4bdc81224620ab2f6b92575dcf81a59 (diff) | |
Add auto-registration when using http_auth (#3003)
* Add auto-registration when using http_auth
* Document HTTP auth auto-registration
* Check email variable for HTTP auth auto-registration
* Auto-create HTTP users by default
* Fix Context init
(I will provide in another PR a better fix requiring a bit of global refactoring)
* Init language
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'docs/en/admins/09_AccessControl.md')
| -rw-r--r-- | docs/en/admins/09_AccessControl.md | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/docs/en/admins/09_AccessControl.md b/docs/en/admins/09_AccessControl.md index c17ad1fc3..fabbffdf3 100644 --- a/docs/en/admins/09_AccessControl.md +++ b/docs/en/admins/09_AccessControl.md @@ -1,10 +1,10 @@ # Access Control -FreshRSS offers three methods of Access control: Form Authentication using Javascript, HTTP based Authentication, or an uncontrolled state with no authentication required. +FreshRSS offers three methods of Access control: Form Authentication using JavaScript, HTTP based Authentication, or an uncontrolled state with no authentication required. ## Form Authentication -Form Authentication requires the use of Javascript. It will work on any supported version of PHP, but version 5.5 or newer is recommended (see footnote 1 in [prerequisites](02_Prerequisites.md) for the reason why). +Form Authentication requires the use of JavaScript. It will work on any supported version of PHP, but version 5.5 or newer is recommended (see footnote 1 in [prerequisites](02_Prerequisites.md) for the reason why). This option requires nothing more than selecting Form Authentication during installation. @@ -14,6 +14,13 @@ You may also choose to use HTTP Authentication provided by your web server.[^1] If you choose to use this option, create a `./p/i/.htaccess` file with a matching `.htpasswd` file. +You can also use any authentication backend as long as your web server exposes the authenticated user through the `REMOTE_USER` variable. + +By default, new users allowed by HTTP Basic Auth will automatically be created in FreshRSS the first time they log in. +You can disable auto-registration of new users by setting `http_auth_auto_register` to `false` in the configuration file. +When using auto-registration, you can optionally use the `http_auth_auto_register_email_field` to specify the name of a web server +variable containing the email address of the authenticated user (e.g. `REMOTE_USER_EMAIL`). + ## No Authentication Not using authentication on your server is dangerous, as anyone with access to your server would be able to make changes as an admin. It is never advisable to not use any form of authentication, but **never** chose this option on a server that is able to be accessed outside of your home network. |
