Skip to content

Commit 46a9eaa

Browse files
author
Damian Czaja
committed
Removed doAuthentication function
1 parent 5d2cf6a commit 46a9eaa

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

kong/plugins/oidc/handler.lua

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,6 @@ function handle(oidcConfig)
4545
ngx.req.set_header("X-Userinfo", cjson.encode(response.user))
4646
end
4747
end
48-
49-
end
50-
51-
function doAuthentication(oidcConfig)
52-
if res and res.user then
53-
utils.injectUser(res.user)
54-
ngx.req.set_header("X-Userinfo", require("cjson").encode(res.user))
55-
end
5648
end
5749

5850
function make_oidc(oidcConfig)

0 commit comments

Comments
 (0)