Backstory
In my application, an Identity User is associated to many organisations, each association acts similarly to an individual 'account' but under the same login. On initial login, the user selects which account they want to proceed with, upon doing so, I create a claim (wiping any existing claim to the type) and set up the ID for which account they select.
The Question
Currently I use a policy to check that the appropriate ID claim is filled in on my controllers, is there any way I can redirect the user to the 'Account selection' page using my policy? If not, what would be considered the Asp.net way. Should I be performing a check on each controller mapped method?
To Complicate Things Further
A lot of my methods are of return type JSONResult for Ajax, and so I can foresee myself having to return a 'direct to' field in my JSON and handling it appropriate in the JavaScript if it exists in a response, again, is there a better way of doing this?
Many thanks