You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am upgrading hapi-auth-jwt2 from v7.2.4 to v10.4.0 in my project
getting an error at index.js of hapi-auth-jwt2 at line no 20 failing
register: function (server, options) {server.auth.scheme('jwt', internal.implementation) ....}
Error: Invalid Plugin options {
"register"[1] : {
... whole index.js file gets printed on console ..
}
}
[1] "register" must be function
hapi: "17.0.0",
hapi-auth-jwt2: "10.4.0"
The text was updated successfully, but these errors were encountered:
I am upgrading hapi-auth-jwt2 from v7.2.4 to v10.4.0 in my project
getting an error at index.js of hapi-auth-jwt2 at line no 20 failing
register: function (server, options) {server.auth.scheme('jwt', internal.implementation) ....}
hapi: "17.0.0",
hapi-auth-jwt2: "10.4.0"
The text was updated successfully, but these errors were encountered: