in multiple tenants environment , where mod-inn-reach is enabled for only 1 tenant , the module is trying to create token for all the other tenants in the environment, even if the module is not enabled for them . as a result , we get an error log of No user found by username ***** ( system user username ) , which is expected result since the tenant which has no inn-reach enabled, does not have a system user for this module .
Steps to Reproduce:
- Log into some multiple tenant environment where mod-innreach is not enabled for all the tenants in the environment
- check module logs, you will find error logs of the module trying to create token for these non inn-reach tenants
mod-inn-reach should interact only with the tenants which is enabled for them
mod-inn-reach is trying to create token for all the tenants in the environment
PS : in the attachment, mod-inn-reach is not enabled for tenant id XXXXX