auth0
Version:
SDK for Auth0 API v2
442 lines (237 loc) • 20.9 kB
Markdown
# Change Log
## [v2.33.0](https://github.com/auth0/node-auth0/tree/v2.33.0) (2021-02-05)
**Added**
- feat: add revokeRefreshToken [\#579](https://github.com/auth0/node-auth0/pull/579) ([andreafspeziale](https://github.com/andreafspeziale))
- ULP-2609/ULP-2914: add page templates support to /branding [\#574](https://github.com/auth0/node-auth0/pull/574) ([sebadoom](https://github.com/sebadoom))
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.32.0...v2.33.0)
## [v2.32.0](https://github.com/auth0/node-auth0/tree/v2.32.0) (2021-01-21)
**Added**
- Additional options on getByEmail [SDK-2268][\#577](https://github.com/auth0/node-auth0/pull/577) ([davidpatrick](https://github.com/davidpatrick))
- [SDK-2261] Add forwardFor support to passwordless calls [\#576](https://github.com/auth0/node-auth0/pull/576) ([frederikprijck](https://github.com/frederikprijck))
- Adding Support for Guardian factor settings endpoints [\#569](https://github.com/auth0/node-auth0/pull/569) ([JayHelton](https://github.com/JayHelton))
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.31.1...v2.32.0)
## [v2.31.1](https://github.com/auth0/node-auth0/tree/v2.31.1) (2021-01-05)
**Fixed**
- Expose getJobErrors to management client [\#563](https://github.com/auth0/node-auth0/pull/563) ([davidaubin19](https://github.com/davidaubin19))
- Fix passing a custom User-Agent to Axios. [\#562](https://github.com/auth0/node-auth0/pull/562) ([djanowski](https://github.com/djanowski))
- Expose assignUsersToRole to ManagementClient [\#561](https://github.com/auth0/node-auth0/pull/561) ([davidaubin19](https://github.com/davidaubin19))
**Security**
- [Security] Bump axios from 0.19.2 to 0.21.1 [\#565](https://github.com/auth0/node-auth0/pull/565) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.31.0...v2.31.1)
## [v2.31.0](https://github.com/auth0/node-auth0/tree/v2.31.0) (2020-12-08)
**Added**
- Updated documentation on Link Users [\#558](https://github.com/auth0/node-auth0/pull/558) ([davidpatrick](https://github.com/davidpatrick))
- Add support for new passwordless endpoint [\#556](https://github.com/auth0/node-auth0/pull/556) ([nbandarchi](https://github.com/nbandarchi))
**Fixed**
- Adds importUsersJob to ManagementClient [\#553](https://github.com/auth0/node-auth0/pull/553) ([mikemeerschaert](https://github.com/mikemeerschaert))
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.30.0...v2.31.0)
## [v2.30.0](https://github.com/auth0/node-auth0/tree/v2.30.0) (2020-10-22)
**Added**
- Provide headers on mgmt token fetch [\#543](https://github.com/auth0/node-auth0/pull/543) ([davidpatrick](https://github.com/davidpatrick))
**Changed**
- [SDK-1975] Use exponential backoff rather than rate limit headers [\#538](https://github.com/auth0/node-auth0/pull/538) ([adamjmcgrath](https://github.com/adamjmcgrath))
**Fixed**
- Bumps Rest-Facade Dependencies [\#542](https://github.com/auth0/node-auth0/pull/542) ([davidpatrick](https://github.com/davidpatrick))
- Fix deprecation warning in importUserJobs [\#537](https://github.com/auth0/node-auth0/pull/537) ([JCQuintas](https://github.com/JCQuintas))
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.29.0...v2.30.0)
## [v2.29.0](https://github.com/auth0/node-auth0/tree/v2.29.0) (2020-09-23)
**Added**
- Adding support for prompts and custom texts [\#533](https://github.com/auth0/node-auth0/pull/533) ([davidpatrick](https://github.com/davidpatrick))
- Adding call to invalidate all remembered browsers. [\#528](https://github.com/auth0/node-auth0/pull/528) ([tandrup](https://github.com/tandrup))
- Adding docs for secondary and federated identity email verification [\#519](https://github.com/auth0/node-auth0/pull/519) ([jimmyjames](https://github.com/jimmyjames))
**Changed**
- Update dependencies [\#535](https://github.com/auth0/node-auth0/pull/535) ([davidpatrick](https://github.com/davidpatrick))
- Update jwks-rsa dependency to avoid DeprecationWarning Buffer() [\#534](https://github.com/auth0/node-auth0/pull/534) ([jalie](https://github.com/jalie))
**Security**
- [Security] Bump node-fetch from 2.6.0 to 2.6.1 [\#532](https://github.com/auth0/node-auth0/pull/532) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.28.0...v2.29.0)
## [v2.28.0](https://github.com/auth0/node-auth0/tree/v2.28.0) (2020-08-27)
**Added**
- Added support for Log Streams [\#518](https://github.com/auth0/node-auth0/pull/518) ([cv711](https://github.com/cv711))
**Removed**
- Remove bluebird [\#520](https://github.com/auth0/node-auth0/pull/520) ([mattiasnixell](https://github.com/mattiasnixell))
**Security**
- [Security] Bump elliptic from 6.5.2 to 6.5.3 [\#521](https://github.com/auth0/node-auth0/pull/521) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.27.1...v2.28.0)
## [v2.27.1](https://github.com/auth0/node-auth0/tree/v2.27.1) (2020-07-23)
**Changed**
- Use [REDACTED] instead of [SANITIZED] when cleaning errors [\#515](https://github.com/auth0/node-auth0/pull/515) ([jimmyjames](https://github.com/jimmyjames))
**Security**
- Sanitize Headers on Errors [\#507](https://github.com/auth0/node-auth0/pull/507) ([jimmyjames](https://github.com/jimmyjames))
- Bump lodash from 4.17.15 to 4.17.19 [\#506](https://github.com/auth0/node-auth0/pull/506) ([dependabot[bot]](https://github.com/apps/dependabot))
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.27.0...v2.27.1)
## [v2.27.0](https://github.com/auth0/node-auth0/tree/v2.27.0) (2020-06-30)
**Added**
- feat(migrations): adds migrations manager [\#503](https://github.com/auth0/node-auth0/pull/503) ([CriGoT](https://github.com/CriGoT))
- Added deleteUserByEmail to ConnectionsManager [\#502](https://github.com/auth0/node-auth0/pull/502) ([MatthewBacalakis](https://github.com/MatthewBacalakis))
- feat(guardian): support policies, selected-provider, message-types methods [MFA-310][\#501](https://github.com/auth0/node-auth0/pull/501) ([pmalouin](https://github.com/pmalouin))
**Fixed**
- fix: management methods throwing error on access [\#500](https://github.com/auth0/node-auth0/pull/500) ([pmalouin](https://github.com/pmalouin))
- fix: guardian-related code examples [\#499](https://github.com/auth0/node-auth0/pull/499) ([pmalouin](https://github.com/pmalouin))
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.26.0...v2.27.0)
## [v2.26.0](https://github.com/auth0/node-auth0/tree/v2.26.0) (2020-06-05)
**Added**
- JobsManager handling importUsers response payload [\#492](https://github.com/auth0/node-auth0/pull/492) ([davidpatrick](https://github.com/davidpatrick))
**Deprecated**
- Deprecate importUsers in favor of importUsersJob [\#494](https://github.com/auth0/node-auth0/pull/494) ([davidpatrick](https://github.com/davidpatrick))
**Fixed**
- Bump codecov - npm audit fix [\#495](https://github.com/auth0/node-auth0/pull/495) ([davidpatrick](https://github.com/davidpatrick))
**Security**
- Fixes dependency vulnerabilities from webpack [\#498](https://github.com/auth0/node-auth0/pull/498) ([davidpatrick](https://github.com/davidpatrick))
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.25.1...v2.26.0)
## [v2.25.1](https://github.com/auth0/node-auth0/tree/v2.25.1) (2020-05-03)
**Fixed**
- Return response.data where Axios is used [\#484](https://github.com/auth0/node-auth0/pull/484) ([taylorbryant](https://github.com/taylorbryant))
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.25.0...v2.25.1)
## [v2.25.0](https://github.com/auth0/node-auth0/tree/v2.25.0) (2020-04-29)
**Changed**
- Deprecate Request lib [\#475](https://github.com/auth0/node-auth0/pull/475) ([davidpatrick](https://github.com/davidpatrick))
**Fixed**
- Fix typos [\#480](https://github.com/auth0/node-auth0/pull/480) ([pgrimaud](https://github.com/pgrimaud))
- Update getRulesConfigs docs to include callback [\#473](https://github.com/auth0/node-auth0/pull/473) ([akvamalin](https://github.com/akvamalin))
**Security**
- Dependency bump [\#481](https://github.com/auth0/node-auth0/pull/481) ([davidpatrick](https://github.com/davidpatrick))
- [Security] Bump acorn from 6.2.1 to 6.4.1 [\#471](https://github.com/auth0/node-auth0/pull/471) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.24.0...v2.25.0)
## [v2.24.0](https://github.com/auth0/node-auth0/tree/v2.24.0) (2020-03-06)
**Fixed**
- Update and fix JSDocs related to JobsManager [\#469](https://github.com/auth0/node-auth0/pull/469) ([orangain](https://github.com/orangain))
- Fixes test on supportedAlgorithms [\#466](https://github.com/auth0/node-auth0/pull/466) ([davidpatrick](https://github.com/davidpatrick))
- Fixes calls on passwordless endpoints [\#465](https://github.com/auth0/node-auth0/pull/465) ([davidpatrick](https://github.com/davidpatrick))
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.23.0...v2.24.0)
## [v2.23.0](https://github.com/auth0/node-auth0/tree/v2.23.0) (2020-02-21)
**Added**
- [DXEX-455] Allow custom headers to be set in Management/Auth Clients. [\#460](https://github.com/auth0/node-auth0/pull/460) ([seejee](https://github.com/seejee))
**Changed**
- Updates node-jwks-rsa [\#461](https://github.com/auth0/node-auth0/pull/461) ([davidpatrick](https://github.com/davidpatrick))
**Fixed**
- Update lru-memoizer dependency to avoid DeprecationWarning Buffer() [\#459](https://github.com/auth0/node-auth0/pull/459) ([jalie](https://github.com/jalie))
- getUsersInRole Docs [\#457](https://github.com/auth0/node-auth0/pull/457) ([davidpatrick](https://github.com/davidpatrick))
**Security**
- [Security] Bump codecov from 3.5.0 to 3.6.5 [\#462](https://github.com/auth0/node-auth0/pull/462) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.22.0...v2.23.0)
## [v2.22.0](https://github.com/auth0/node-auth0/tree/v2.22.0) (2020-01-24)
**Added**
- Support for Hooks API [\#440](https://github.com/auth0/node-auth0/pull/440) ([astanciu](https://github.com/astanciu))
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.21.0...v2.22.0)
## [v2.21.0](https://github.com/auth0/node-auth0/tree/v2.21.0) (2020-01-15)
**Added**
- Improved OIDC compliance [\#446](https://github.com/auth0/node-auth0/pull/446) ([davidpatrick](https://github.com/davidpatrick))
**Changed**
- Add client secret to refreshToken and remove ID token validation [\#433](https://github.com/auth0/node-auth0/pull/433) ([joshcanhelp](https://github.com/joshcanhelp))
**Security**
- [Security] Bump handlebars from 4.1.2 to 4.5.3 [\#441](https://github.com/auth0/node-auth0/pull/441) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Update rest-facade dependency [\#436](https://github.com/auth0/node-auth0/pull/436) ([joshcanhelp](https://github.com/joshcanhelp))
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.20.0...v2.21.0)
## [v2.20.0](https://github.com/auth0/node-auth0/tree/v2.20.0) (2019-09-17)
**Added**
- expose createEmailTemplate, getEmailTemplate, updateEmailTemplates vi… [\#416](https://github.com/auth0/node-auth0/pull/416) ([rameshanandakrishnan](https://github.com/rameshanandakrishnan))
**Security**
- Sanitize Error Request Data [\#424](https://github.com/auth0/node-auth0/pull/424) ([davidpatrick](https://github.com/davidpatrick))
- [Security] Bump mixin-deep from 1.3.1 to 1.3.2 [\#421](https://github.com/auth0/node-auth0/pull/421) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.19.0...v2.20.0)
## [v2.18.1](https://github.com/auth0/node-auth0/tree/v2.19.0) (2019-08-08)
**Added**
- Implement auth0-forwarded-for header passing in Authentication Client [\#401](https://github.com/auth0/node-auth0/pull/401) ([kjarmicki](https://github.com/kjarmicki))
**Changed**
- Improve JobManager (get errors + parse error message when importing users) [\#407](https://github.com/auth0/node-auth0/pull/407) ([jbauth0](https://github.com/jbauth0))
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.18.1...v2.19.0)
## [v2.18.0](https://github.com/auth0/node-auth0/tree/v2.18.1) (2019-07-23)
**Changed**
- Encode id param on GET [\#374](https://github.com/auth0/node-auth0/pull/374) ([luisrudge](https://github.com/luisrudge))
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.18.0...v2.18.1)
## [v2.18.0](https://github.com/auth0/node-auth0/tree/v2.18.0) (2019-06-26)
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.17.1...v2.18.0)
**Added**
- Add Management API support for Branding and Prompts endpoints. [\#370](https://github.com/auth0/node-auth0/pull/370) ([chrisscott](https://github.com/chrisscott))
## [v2.17.1](https://github.com/auth0/node-auth0/tree/v2.17.1) (2019-05-22)
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.17.0...v2.17.1)
**Fixed**
- Fix telemetry header [\#362](https://github.com/auth0/node-auth0/pull/362) ([lbalmaceda](https://github.com/lbalmaceda))
## [v2.17.0](https://github.com/auth0/node-auth0/tree/v2.17.0) (2019-04-15)
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.16.0...v2.17.0)
**Added**
- Add method to assign users to a role [\#348](https://github.com/auth0/node-auth0/pull/348) ([pushpabrol](https://github.com/pushpabrol))
- Add support for roles and permissions [\#344](https://github.com/auth0/node-auth0/pull/344) ([pushpabrol](https://github.com/pushpabrol))
## [v2.16.0](https://github.com/auth0/node-auth0/tree/v2.16.0) (2019-03-18)
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.15.0...v2.16.0)
**Added**
- Add support for Auth0 Grants [\#343](https://github.com/auth0/node-auth0/pull/343) ([jsmpereira](https://github.com/jsmpereira))
## [v2.15.0](https://github.com/auth0/node-auth0/tree/v2.15.0) (2019-03-11)
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.14.0...v2.15.0)
**Added**
- Add users-exports endpoint [\#340](https://github.com/auth0/node-auth0/pull/340) ([arjenvanderende](https://github.com/arjenvanderende))
**Fixed**
- Don't validate id_token when alg is HS256 and there is no clientSecret [\#330](https://github.com/auth0/node-auth0/pull/330) ([luisrudge](https://github.com/luisrudge))
## [v2.14.0](https://github.com/auth0/node-auth0/tree/v2.14.0) (2018-11-12)
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.13.0...v2.14.0)
**Added**
- Add method to refresh a token using a refresh_token [\#313](https://github.com/auth0/node-auth0/pull/313) ([modeswitch](https://github.com/modeswitch))
- Add all Guardian APIs [\#311](https://github.com/auth0/node-auth0/pull/311) ([stevezau](https://github.com/stevezau))
- Add Custom Domains methods [\#310](https://github.com/auth0/node-auth0/pull/310) ([stevezau](https://github.com/stevezau))
- Add send_completion_email and upsert params for importUsers [\#270](https://github.com/auth0/node-auth0/pull/270) ([Floppy](https://github.com/Floppy))
**Deprecated**
- Deprecate UsersManager.deleteAll and deleteAllUsers wrapper methods [\#309](https://github.com/auth0/node-auth0/pull/309) ([M-Zuber](https://github.com/M-Zuber))
## [v2.13.0](https://github.com/auth0/node-auth0/tree/v2.13.0) (2018-09-28)
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.12.0...v2.13.0)
**Added**
- Add id_token validation (HS256 and RS256) [\#295](https://github.com/auth0/node-auth0/pull/295) ([luisrudge](https://github.com/luisrudge))
## [v2.12.0](https://github.com/auth0/node-auth0/tree/v2.12.0) (2018-08-09)
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.11.0...v2.12.0)
**Added**
- Added authorizationCodeGrant method to OAuthAuthenticator [\#290](https://github.com/auth0/node-auth0/pull/290) ([cwurtz](https://github.com/cwurtz))
- Add Guardian Enrollments endpoints [\#278](https://github.com/auth0/node-auth0/pull/278) ([fmedinac](https://github.com/fmedinac))
## [v2.11.0](https://github.com/auth0/node-auth0/tree/v2.11.0) (2018-07-25)
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.10.0...v2.11.0)
**Added**
- Added Pagination Docs for a Client Grants, Resouce Servers and Rules [\#282](https://github.com/auth0/node-auth0/pull/282) ([cocojoe](https://github.com/cocojoe))
- Added rules config methods [\#227](https://github.com/auth0/node-auth0/pull/227) ([dctoon](https://github.com/dctoon))
**Fixed**
- Get access token before importing users [\#267](https://github.com/auth0/node-auth0/pull/267) ([Floppy](https://github.com/Floppy))
## [v2.10.0](https://github.com/auth0/node-auth0/tree/v2.10.0) (2018-05-29)
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.9.3...v2.10.0)
**Added**
- Adding pagination docs for clients/connections [\#268](https://github.com/auth0/node-auth0/pull/268) ([luisrudge](https://github.com/luisrudge))
**Fixed**
- Fix deleteUserMultifactor naming [\#259](https://github.com/auth0/node-auth0/pull/259) ([luisrudge](https://github.com/luisrudge))
## [v2.9.3](https://github.com/auth0/node-auth0/tree/v2.9.3) (2018-03-01)
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.9.2...v2.9.3)
**Fixed**
- Add client secret to passwordGrant [\#217](https://github.com/auth0/node-auth0/pull/217) ([luisrudge](https://github.com/luisrudge))
## [v2.9.2](https://github.com/auth0/node-auth0/tree/v2.9.2) (2018-01-16)
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.9.1...v2.9.2)
**Security**
- Update rest facade [\#232](https://github.com/auth0/node-auth0/pull/232) ([luisrudge](https://github.com/luisrudge))
## [v2.9.1](https://github.com/auth0/node-auth0/tree/v2.9.1) (2017-12-08)
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.9.0...v2.9.1)
**Fixed**
- fixed missing data object error [\#224](https://github.com/auth0/node-auth0/pull/224) ([dctoon](https://github.com/dctoon))
## [v2.9.0](https://github.com/auth0/node-auth0/tree/v2.9.0) (2017-12-07)
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.8.0...v2.9.0)
**Added**
- Added support for /users-by-email method. [\#218](https://github.com/auth0/node-auth0/pull/218) ([kopertop](https://github.com/kopertop))
- Add retry functionality for management api requests [\#215](https://github.com/auth0/node-auth0/pull/215) ([dctoon](https://github.com/dctoon))
## [v2.8.0](https://github.com/auth0/node-auth0/tree/v2.8.0) (2017-09-30)
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.7.1...v2.8.0)
**Added**
- Added tokenProvider functionality [\#196](https://github.com/auth0/node-auth0/pull/196) ([dctoon](https://github.com/dctoon))
**Fixed**
- Fix wrapPropertyMethod mistake for updateClientGrant [\#202](https://github.com/auth0/node-auth0/pull/202) ([danedmunds](https://github.com/danedmunds))
## [v2.7.1](https://github.com/auth0/node-auth0/tree/v2.7.1) (2017-09-30)
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.7.0...v2.7.1)
**Fixed**
- Fix auth/users.getInfo to return JSON (fixes #158) [\#192](https://github.com/auth0/node-auth0/pull/192) ([pilwon](https://github.com/pilwon))
**Security**
- Update request to address ReDoS vulnerability [\#206](https://github.com/auth0/node-auth0/pull/206) ([dancrumb](https://github.com/dancrumb))
## [v2.7.0](https://github.com/auth0/node-auth0/tree/v2.7.0) (2017-06-28)
[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.6.0...v2.7.0)
**Added**
- Add password grant method [\#189](https://github.com/auth0/node-auth0/pull/189) ([hzalaz](https://github.com/hzalaz))
- Retrieve a user's Guardian enrollments [\#181](https://github.com/auth0/node-auth0/pull/181) ([joshuaali](https://github.com/joshuaali))
- Add get user logs [\#176](https://github.com/auth0/node-auth0/pull/176) ([amiram](https://github.com/amiram))
**Changed**
- Update packages and utilize error classes from rest-facade correctly (Fixes #154) [\#183](https://github.com/auth0/node-auth0/pull/183) ([charsleysa](https://github.com/charsleysa))
**Fixed**
- Fix impersonation to send AT in the params. [\#190](https://github.com/auth0/node-auth0/pull/190) ([hzalaz](https://github.com/hzalaz))
- Fixed minor typo in DatabaseAuthenticator module [\#184](https://github.com/auth0/node-auth0/pull/184) ([scostello-paanalytics](https://github.com/scostello-paanalytics))
- fix: avoid possible prototype override protection bypass [\#170](https://github.com/auth0/node-auth0/pull/170) ([AlmaasAre](https://github.com/AlmaasAre))