Skip to content

Commit

Permalink
Release 1.12.0 (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpatrick committed Dec 8, 2020
1 parent 4446484 commit 26d760b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
@@ -1,4 +1,22 @@
# Changelog
## [1.12.0] - (2020-12-08)

**Added**
- Provide an alternative source for supplying keysets [\#292](https://github.com/auth0/node-jwks-rsa/pull/292) ([davidpatrick](https://github.com/davidpatrick))

**Deprecation**
We are deprecating passing in a `jwksObject` to the client for reasons laid out in [\#292](https://github.com/auth0/node-jwks-rsa/pull/292). In order to load keys from anything other than the `jwksUri`, please use the `getKeysInterceptor`.

```js
const client = new JwksClient({
jwksUri: 'https://my-enterprise-id-provider/.well-known/jwks.json',
getKeysInterceptor: (cb) => {
const file = fs.readFileSync(jwksFile);
return cb(null, file.keys);
}
});
```

## [1.11.0] - (2020-10-23)

**Added**
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "jwks-rsa",
"version": "1.11.0",
"version": "1.12.0",
"description": "Library to retrieve RSA public keys from a JWKS endpoint",
"main": "lib/index.js",
"types": "index.d.ts",
Expand Down

0 comments on commit 26d760b

Please sign in to comment.