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
When throwing an error in the getJwks method because the status code isn't right, we have the following argument for the JwksError: res.body && (res.body.message || res.body) || res.statusMessage || Http Error ${res.statusCode}``.
By set logic res.body && (res.body.message || res.body) will always be res.body. Therefore, either (res.body.message || res.body) is not necessary or we should change one of the logic operators.
The text was updated successfully, but these errors were encountered:
When throwing an error in the getJwks method because the status code isn't right, we have the following argument for the JwksError:
res.body && (res.body.message || res.body) || res.statusMessage ||
Http Error ${res.statusCode}``.By set logic
res.body && (res.body.message || res.body)
will always beres.body
. Therefore, either(res.body.message || res.body)
is not necessary or we should change one of the logic operators.The text was updated successfully, but these errors were encountered: