Problem with IdentityModel - could not load assembly

Hi, I try to add Facebook login to my desktop app. On my developer machine everything works fine, but when I try to run it on “clean” machine with Windows 10 and .NetCore 3.1 installed, I get the error: “Could not load file or assembly IdentityModel version”

Now, there is no such assembly. There is only version 4.0. Even when I add Nuget package to my project → IdentityModel 5.1 I get the same result. What’s more in published code there is only IdentityModel 4.0. What’s wrong with that?