Done! The issue is #4156 with the title "Feature Request: Support Multi-Organization Tenancy for a Single User" .
I appreciate if you consider to implement it to allow this new behavior in Casdoor.
There is a requirement: a hospital A uses the services of a doctor. Hospital B also uses de services of the same doctor. The doctor can work for hospital A or B. Hospital A can send a invitation link to doctor to be part of it and Hospital B can do the same.
In Casdoor, the doctor can be part of a common Organization (Org Common), the Hospital A can be other organization (Org Hosp A) and Hospital B another organization (Org Hosp B).
Now, there is a properties map in the user claims. It only appears with the normal Jwt. When i used JwtCustom properties it doesn't appears in the token even if i specify the Properties attribute. 🤔
I found that the org id is been retrieved just in the case of grant_type 'password' , sending the client id and secret and user and password.
So , my previous question is been answered.

