Authentication Request
We have an issue with our product uses DUO integration and the was we have the code that its one single endpoint will handle the login + authentication for user and if user has DUO active it will wait in that threat until user accept the notification on the phone and we show a loading screen
The thing is the Angular side does not know if that user has DUO or not to show some indication to tell user to accept the notification and its too expensive to have 2 endpoints on api to check if user has duo then other endpoint to do login authorization and we use different integrations so we cant have the same dialog to show for all and all other integration are code based so user will enter code and get validated with other endpoint anyway but DUO is kinda different so is there so kinda way in C# so handle a situation like this to notify angular with out breaking the request to the endpoint
The thing is the Angular side does not know if that user has DUO or not to show some indication to tell user to accept the notification and its too expensive to have 2 endpoints on api to check if user has duo then other endpoint to do login authorization and we use different integrations so we cant have the same dialog to show for all and all other integration are code based so user will enter code and get validated with other endpoint anyway but DUO is kinda different so is there so kinda way in C# so handle a situation like this to notify angular with out breaking the request to the endpoint