Is your feature request related to a problem? Please describe.
Right now the middleware is being called through the default chain
due to this it is being called before authentication and authorization in that case, we cant use CURRENT_USER to fetch and identify the tenantId of the user
Describe the solution you'd like
change the chain of the middleware
Is your feature request related to a problem? Please describe. Right now the middleware is being called through the default chain due to this it is being called before authentication and authorization in that case, we cant use CURRENT_USER to fetch and identify the tenantId of the user
Describe the solution you'd like change the chain of the middleware