WEB-506 feat: add Remittance Module with 7-step payout wizard (#3200)
WEB-506 fix: address CodeRabbit review (security, validation) WEB-506 fix: make API gateway header name configurable (MIFOS_REMITTANCE_API_HEADER) WEB-506 fix: remove duplicate translation keys (Personal Information, Transaction Details)
This commit is contained in:
@@ -41,6 +41,10 @@ export class AuthenticationInterceptor implements HttpInterceptor {
|
||||
* Intercepts a Http request and sets the request headers.
|
||||
*/
|
||||
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> {
|
||||
// Skip Fineract auth headers for external API calls (e.g. remittance, national ID)
|
||||
if (request.url.startsWith('http://') || request.url.startsWith('https://')) {
|
||||
return next.handle(request);
|
||||
}
|
||||
if (this.settingsService.tenantIdentifier) {
|
||||
httpOptions.headers['Fineract-Platform-TenantId'] = this.settingsService.tenantIdentifier;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user