nginxinc / NGINX-Demos

NGINX and NGINX Plus demos
Apache License 2.0
1.25k stars 668 forks source link

Failures due to js engine 0.8.0 #106

Open ericrichtert opened 1 year ago

ericrichtert commented 1 year ago

I try to implement the code from the oauth2-token-introspection-oss example, but the js code in the example has some failures since js engine 0.8.0.

line 22: <>.toBytes() does not exist anymore line 38 and 39: reply.responseBody does not exist anymore

Can this be fixed (maybe more scripts have issues in this repo)