I have downloaded the Source code from this repo and updated the same to .net core 3.1.0 and identity 2.2.0[and also updated the startup file]. Now it's working fine for me.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)