May 06, 2020 11:16 PM|johnjohn123123|LINK
I have created a new asp.net MVC core web application and i set it to use organizational account as follow:-
now if i add [Authorize] attribute to an action method then the user will be asked to login first. but my question is how i can only allow certain users to access the action method?
second question, is how i can prevent users from logging to the application unless they are inside a predefined list?