Last post Feb 03, 2018 09:45 PM by avsln
Feb 02, 2018 09:26 PM|avsln|LINK
I am building an intranet application using Visual Studio 2017 and used the template for creating a .NET Core Web Application with Angular. Since it is an intranet application, we want to implement windows authentication. The users are already logged in
to the network and we wouldnt want them to enter their credentials again when they access the application.
How can I setup my Angular application so that it can recognise the user that is already logged in to the network and pass it appropriately. We have a Web API Authentication API that can take this user id and determine which AD Groups the user exists in,
in order to determine authorisation to the application.
Feb 03, 2018 04:23 PM|bruce (sqlwork.com)|LINK
Feb 03, 2018 09:45 PM|avsln|LINK
Thank you Bruce. Actually I had done that already but it was not passing the logged in user id. I just found out that I also had anonymous authentication turned on. As soon as I turned that off, I was able to see the user id.
Thank you for the answer though.