Closed jrpedrianes closed 3 years ago
Would be interesting to add to the key method the current request, so there can be used if is necessary.
key
for example adding here the request and the using in the key method
const { keys, extraInfo } = await internals.getKeys(decoded, options, request);
@jrpedrianes thanks for opening this issue. request is now included. see: https://github.com/dwyl/hapi-auth-jwt2#documentation
request
Would be interesting to add to the
key
method the current request, so there can be used if is necessary.for example adding here the request and the using in the key method
const { keys, extraInfo } = await internals.getKeys(decoded, options, request);