Skip to content

Commit

Permalink
fix!: drop support for allowedDomains (#247)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: remove last reference of allowedDomains
  • Loading branch information
jack-robson authored Oct 17, 2023
1 parent 5961f1c commit 1661701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/get-jwks.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function buildGetJwks(options = {}) {
const max = options.max || 100
const ttl = options.ttl || ONE_MINUTE
const timeout = options.timeout || FIVE_SECONDS
const issuersWhitelist = (options.issuersWhitelist || options.allowedDomains || []).map(ensureTrailingSlash)
const issuersWhitelist = (options.issuersWhitelist || []).map(ensureTrailingSlash)
const checkIssuer = options.checkIssuer
const providerDiscovery = options.providerDiscovery || false
const jwksPath = options.jwksPath
Expand Down

0 comments on commit 1661701

Please sign in to comment.