hapi-auth-jwt2
Advanced tools
Changelog
Version 10.0.0
Version 10.0.0 introduces a breaking change
where the returned payload
Object
now contains an artifacts
Object
of the form:
return {
payload: {
credentials: credentials
artifacts: {
token,
decoded,
},
},
};
Previously the value of artifacts
was just the token
.
Anyone using version 9.0.0
will need to make the minor update
to use payload.artifacts.token
as opposed to payload.artifacts
.