Skip to content

Commit

Permalink
Change identity provider to https (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
rashmi43 authored and qiujian16 committed Jun 28, 2018
1 parent e533b88 commit ee50d61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rootfs/opt/ibm/router/nginx/conf/oidc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ee50d61

Please sign in to comment.