v5.1.0
October 17, 2018
CachingJwtProvider
constructor
now accepts optional second parameter for the initial value of the JWT as a string or an instance ofJwt
class:
const jwtProvider = new CachingJwtProvider(getJwtCallback, "xxxx.yyyy.zzzz");
HTTP Error Handling
- Body of 5xx HTTP responses won't be read, because it can be an html text, which causes errors when we expect json.