Skip to content

Commit

Permalink
changes to fix impersonation (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
traghave123 authored and Li Qiang Lin committed Apr 11, 2019
1 parent 01581f9 commit 8e941bd
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 @@ -119,7 +119,7 @@ local function validate_id_token_or_exit()
ngx.req.set_header('Authorization', 'Bearer '.. data)
end
end
if impersonation_enabled then
if impersonation_enabled == 'true' then
impersonate.add_auth_headers()
end
return data
Expand Down

0 comments on commit 8e941bd

Please sign in to comment.