diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-11-17 18:20:47 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-11-17 18:20:47 +0200 |
commit | e202fdae058d001abca1d42cd1108e09b616f2cc (patch) | |
tree | f2930757f54ce362de3cf0d249f69d9f28f0bc1c /muck_poc | |
parent | 6d621d3a51ba68f0a436d5c5b27ace6cb2825f50 (diff) | |
download | muck-poc-e202fdae058d001abca1d42cd1108e09b616f2cc.tar.gz |
Add: log claims with effective user
Diffstat (limited to 'muck_poc')
-rwxr-xr-x | muck_poc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -85,6 +85,7 @@ class MuckAPI: if self._ac.request_is_allowed(r, req_method, [req_scope]): claims = self._ac.get_claims_from_token(r) claims = self._claims_as_effective_user(r, claims) + logging.info('Claims (with effective user): %r', claims) return callback(claims) logging.error('Access denied') return bottle.HTTPError(401) |