kjdev / nginx-auth-jwt

Nginx module for the authenticate using JWT
MIT License
27 stars 17 forks source link

Outdated requestBody in openid_connect.js example #6

Closed madorin closed 1 year ago

madorin commented 1 year ago

The njs module renamed responseBody property to responseText: https://github.com/nginxinc/nginx-openid-connect/blob/8da37d2ef6761c2f16a7c6788eb387785841e93a/openid_connect.js#L66

So provided example in this repo needs to be adjusted. Spent a few hours to figure out..

Thanks!