Auth Proxy improvements

- adds the option to use ldap groups for authorization in combination with an auth proxy
- adds an option to limit where auth proxy requests come from by configure a list of ip's
- fixes a security issue, session could be reused
This commit is contained in:
Seuf
2016-02-23 14:22:28 +01:00
committed by seuf
parent 158656f570
commit ae27c17c68
13 changed files with 557 additions and 42 deletions

View File

@@ -12,8 +12,10 @@ import (
)
const (
SESS_KEY_USERID = "uid"
SESS_KEY_USERID = "uid"
SESS_KEY_OAUTH_STATE = "state"
SESS_KEY_APIKEY = "apikey_id" // used for render requests with api keys
SESS_KEY_LASTLDAPSYNC = "last_ldap_sync"
)
var sessionManager *session.Manager