Opened 4 years ago
Closed 4 years ago
#1702 closed defect (invalid)
[NGINX Plus Openid connect]:audience check failed for array type field
|Reported by:||Owned by:|
|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 Release 17 (R17)|
With nginx plus openid connect feature, if the id_token has "aud" field of type array (json array object). It fails to validate the token & returns failure.
Error Log: 2019/01/04 19:55:11 [error] 3435#3435: *2 js: OIDC ID Token validation error: missing claim(s) aud
As a workaround, if i disable the audience check from openid_connect.js script everything works fine.
I have tested this on google cloud by creating nginx plus VM instance from marketplace which installs latest nginx mainline version.
And also have tested this on my local setup using one month nginx plus free trial.
Change History (2)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
|Status:||new → closed|
This Trac is for nginx. If you have issues with OpenID Connect integration for NGINX Plus, please use corresponding github repository to report them. (Just in case, this one seems to be duplicate of https://github.com/nginxinc/nginx-openid-connect/issues/6.)
I faced this issue with 3 legged authz code flow. And i believe this issue must persists with 2 legged flow as well.