diff --git a/rootfs/opt/ibm/router/nginx/conf/oidc.lua b/rootfs/opt/ibm/router/nginx/conf/oidc.lua index 9ac243f448..f03c953e60 100644 --- a/rootfs/opt/ibm/router/nginx/conf/oidc.lua +++ b/rootfs/opt/ibm/router/nginx/conf/oidc.lua @@ -150,8 +150,9 @@ local function validate_access_token_or_exit() ngx.log(ngx.NOTICE, "Received OIDC token =",token) local httpc = http.new() - local res, err = httpc:request_uri("http://platform-identity-provider.kube-system.svc."..cluster_domain..":4300/v1/auth/userInfo", { + local res, err = httpc:request_uri("https://platform-identity-provider.kube-system.svc."..cluster_domain..":4300/v1/auth/userInfo", { method = "POST", + ssl_verify = false, body = "access_token=" .. token, headers = { ["Content-Type"] = "application/x-www-form-urlencoded",