From 49417de7483372b1cf93ba8e9d7041500c8ff3b8 Mon Sep 17 00:00:00 2001 From: jorgejimenez Date: Wed, 8 Feb 2023 15:36:37 +0100 Subject: [PATCH 1/2] [GOAL-1240] Add new parameters to user jwt --- rootfs/etc/nginx/lua/stratio_auth.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rootfs/etc/nginx/lua/stratio_auth.lua b/rootfs/etc/nginx/lua/stratio_auth.lua index da0ed5dc43..dad60b4514 100644 --- a/rootfs/etc/nginx/lua/stratio_auth.lua +++ b/rootfs/etc/nginx/lua/stratio_auth.lua @@ -45,7 +45,10 @@ local function create_jwt(oauth2_cookie, userinfo_url, signing_key) groups = userinfo["groups"], mail = userinfo["email"], tenant = userinfo["tenant"], - uid = userinfo["user"] + uid = userinfo["user"], + username = userinfo["username"], + tenants = userinfo["tenants"], + equipo = "gosec" } } ) From e7b4710a8424bf2f7c81e538f402c40ed7754382 Mon Sep 17 00:00:00 2001 From: jorgejimenez Date: Thu, 29 Jun 2023 16:11:27 +0200 Subject: [PATCH 2/2] rebuild