Skip to content

Commit e0e51d1

Browse files
pretendWhaleDonny Wong
authored andcommitted
add remote validation setting (#213)
1 parent f3a3a0f commit e0e51d1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Configuration.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ queues:
8181
redis:
8282
url: # url of a running redis database
8383
validate_file: # (See "User Authentication Options" below)
84+
remote_validate_file: # (See "User Authentication Options" below)
8485
validate_ip: # (See "User Authentication Options" below)
8586
validate_custom_status_message: # (See "User Authentication Options" below)
8687
validate_user_not_allowed_message: # (See "User Authentication Options" below)
@@ -220,6 +221,12 @@ validate_custom_status_message:
220221
local_auth_login_name: shibboleth
221222
```
222223

224+
Additionally, MarkUs can be set to restrict remote logins based on username and/or IP when using remote authentication.
225+
226+
**To enable restricted remote authentication, set the following setting:**
227+
228+
- `remote_validate_file:` an absolute path to a script that expects input from stdin (user name, password (blank), and IP address; separated by "\n") and returns 0 if the user is authenticated and any other positive integer otherwise.
229+
223230
### Logout redirect
224231

225232
The `logout_redirect` setting determines where the user will be redirected when they logout of MarkUs. It can be one of `DEFAULT`, `NONE`, or a URL.

0 commit comments

Comments
 (0)