Opened 6 years ago

Closed 6 years ago

#1703 closed defect (invalid)

[NGINX Plus Openid Connect]: error log printing variable not value

Reported by: chunilalkukreja@… Owned by:
Priority: minor Milestone: nginx-1.15
Component: other Version: 1.15.x
Keywords: oidc Cc: chuni.kukreja@…
uname -a: Linux ubuntu 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
nginx -V: NGINX PLUS R17

Description

If audience validation fails it throws error & dumps it to oidc_error.log as expected. But in error message instead of showing "$oidc_client" value it prints it as such.

openid_connect.js: here if you see the variable is inside the static print value instead of being outside it.
req.error("OIDC ID Token validation error: aud claim (" + req.vari ables.jwt_claim_aud + ") does not match $oidc_client");

It's a cosmetic bug. I have verified this on google cloud nginx plus vm instance (provided by its marketplace).

Change History (1)

comment:1 by Maxim Dounin, 6 years ago

Resolution: invalid
Status: newclosed

This Trac is for nginx. If you have issues with OpenID Connect integration for NGINX Plus, please use corresponding github repository to report them.

Note: See TracTickets for help on using tickets.