Update README, example config
This commit is contained in:
parent
f446d67cf4
commit
011ee55fc0
2 changed files with 8 additions and 1 deletions
|
@ -23,10 +23,11 @@ these custom users are properly authenticated.
|
||||||
- `user_server_key` generation (`POST /generate-user-server-key-2`)
|
- `user_server_key` generation (`POST /generate-user-server-key-2`)
|
||||||
- [user token generation](https://wiki.factorio.com/Web_authentication_API) and storage (`POST
|
- [user token generation](https://wiki.factorio.com/Web_authentication_API) and storage (`POST
|
||||||
/api-login`), without any actual authentication
|
/api-login`), without any actual authentication
|
||||||
|
- LDAP auth backend
|
||||||
|
|
||||||
### Planned
|
### Planned
|
||||||
|
|
||||||
- auth backends: LDAP, user file, PAM(?)
|
- more auth backends: user file, PAM(?)
|
||||||
- server padlock proxying (to allow e.g. factorio.com users to join servers using a custom auth
|
- server padlock proxying (to allow e.g. factorio.com users to join servers using a custom auth
|
||||||
server)
|
server)
|
||||||
|
|
||||||
|
|
|
@ -3,3 +3,9 @@ port = 80
|
||||||
|
|
||||||
[database]
|
[database]
|
||||||
connection-string = "sqlite://sqlite.db"
|
connection-string = "sqlite://sqlite.db"
|
||||||
|
|
||||||
|
[[auth-backends]]
|
||||||
|
type = "LDAP"
|
||||||
|
server-address = "ldap://ldap.example.com"
|
||||||
|
search-base = "ou=users,dc=example,dc=com"
|
||||||
|
user-filter = "(|(uid=%s)(mail=%s))"
|
||||||
|
|
Loading…
Reference in a new issue