The ordering of your middleware is incorrect. You need to place UseAuthentication() before UseAuthorization() . With it the way you have it, ...
確定! 回上一頁