diff --git a/shinyproxy/pep.js.j2 b/shinyproxy/pep.js.j2 index d2dbb18..5da0009 100644 --- a/shinyproxy/pep.js.j2 +++ b/shinyproxy/pep.js.j2 @@ -32,10 +32,6 @@ function enforce(r) { } context.userinfo = { username : jwt.preferred_username } return Promise.resolve(context) - } else { - debug(context, "[PEP] failed " + reply.status + ":" + reply.responseBody) - throw new Error("Unauthorized") - } }).then(ctx => { debug(context, "[HOMESERV] creating home for username " + context.userinfo.username) return context.request.subrequest("/_homeserv", {"body" : "user=" + context.userinfo.username })