Note: in https works.
In the client configuration I have set : options.RequireHttpsMetadata = false;
I started all projects in http, when I log in starting I am correctly redirected to the login page but when I enter the username and password it passes the authentication but remains on the login page emptying the fields.