Table of Contents
- 2023-06-23
- 2022-05-18
- 2021-11-4
- 2021-10-20
- 2021-10-20
- 2021-10-19
- 2021-09-27
- 2020-09-16
- 2020-07-23
- 2020-07-23
- 2020-06-25
- 2020-05-19
- 2020-04-30
- Fixes #276, allowing
Content-Type
&Accept
headers provided by request
- Adds an option to opt out from token forwarding (per service).
services: [
{
id: 'THIRD_PARTY_SERVICE',
url: 'https://some-service.com/some-endpoint',
forwardToken: false,
},
];
- Cookies are not proxied anymore by default. You can opt in by listing the cookie names in the
allowedCookies
option.
allowedCookies: ['cookie1', 'cookie2'],
- Remove possibility to proxy a call without a
serviceId
- Fix calls with queryParams
- Use
url-join
to parse and join urls and solve use cases when baseUrl has a subpath
- Use out of the box
URL
to parse and join urls
- Nest 8 compatible
It is possible to use proxy module with oidc module with a multitenancy configuration.
Fix typo for accessToken
which prevented to retrieve and pass token
Compatible with @ffdc/nestjs-oidc
0.10.0 onwards
- Log when error instead of throwing error, which would kill the process
- Module registration was harmonized and no longer uses
@golevelup/nestjs-modules
ProxyModule.forRoot({}),
Or asynchronously :
ProxyModule.forRootAsync({
useClass: ProxyConfigService,
imports: [ConfigModule],
}),
- Return a
404
instead of a500
when no serviceId has been found