I took a quick look at this: I think the problem is that 
TenantAwareTenantIdentifierFilter rejects the request with 
InvalidTenantIdentiferException because the URL 
(/fineract-provider/actuator/health) does not have a tenant identifier. 

I’m not an expert on Spring Security, but I’m assuming this means the 
custom-filter tag in securityContext that we use to insert the 
TenantAwareTenantIdentifierFilter doesn’t actually “respect” the URL pattern 
specified in the enclosing http tags: i.e. the custom filter gets inserted to 
the filter chain for all URLs, not for ones matching the specific URL pattern. 

Regards
Petri

> On 7 Oct 2020, at 10:31 PM, Yemdjih Kaze Nasser <[email protected]> wrote:
> 
> Hi,
> 
> What does the call to actuator/health return?
> 
> On Wed, Oct 7, 2020 at 12:27 PM reza sohbati <[email protected] 
> <mailto:[email protected]>> wrote:
> Hello everyone
> 
> When I build the Fineract with -Psecurity=oauth argument, everything is OK 
> but the actuator health API does not return the proper value.
> I try to call this API : 
>            fineract-provider/actuator/health
> 
> Thank you
> 
> 

Reply via email to