Skip to content

Commit

Permalink
Update oidc.lua to call platform-identity-provider through http (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
rashmi43 authored and chenzhiwei committed Aug 23, 2018
1 parent 9f21c8e commit d2a849b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/opt/ibm/router/nginx/conf/oidc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ 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("https://platform-identity-provider.kube-system.svc."..cluster_domain..":4300/v1/auth/userInfo", {
local res, err = httpc:request_uri("http://platform-identity-provider.kube-system.svc."..cluster_domain..":4300/v1/auth/userInfo", {
method = "POST",
ssl_verify = false,
body = "access_token=" .. token,
Expand Down

0 comments on commit d2a849b

Please sign in to comment.