authproxy: update docs and set a userID

This commit is contained in:
Eric Chiang
2017-10-26 10:47:16 -07:00
parent 751c565e9d
commit d099145921
2 changed files with 44 additions and 5 deletions

View File

@@ -50,6 +50,7 @@ func (m *callback) HandleCallback(s connector.Scopes, r *http.Request) (connecto
// TODO: add support for X-Remote-Group, see
// https://kubernetes.io/docs/admin/authentication/#authenticating-proxy
return connector.Identity{
UserID: remoteUser, // TODO: figure out if this is a bad ID value.
Email: remoteUser,
EmailVerified: true,
}, nil