Comments on: How to implement Windows Authentication in an AngularJS application with a stand-alone Web API/2016/09/08/how-to-implement-windows-authentication-in-an-angularjs-application-with-a-stand-alone-web-api/Blog of the Spikes app developersFri, 20 Mar 2020 07:00:58 +0000hourly1http://wordpress.com/By: Ruben B/2016/09/08/how-to-implement-windows-authentication-in-an-angularjs-application-with-a-stand-alone-web-api/comment-page-1/#comment-17107Fri, 20 Mar 2020 07:00:58 +0000/?p=1051#comment-17107In reply to Se Vivian.

I’m sorry you feel that this was a waste of your time. I am however quite sure that this is AngularJS (= Angular 1).

Like

]]>
By: Se Vivian/2016/09/08/how-to-implement-windows-authentication-in-an-angularjs-application-with-a-stand-alone-web-api/comment-page-1/#comment-17104Thu, 19 Mar 2020 20:55:22 +0000/?p=1051#comment-17104Good Post but not on AngularJS, it’s simple Angular. I had to waste my time on this post. 😦

Like

]]>
By: dhiraj sonavane/2016/09/08/how-to-implement-windows-authentication-in-an-angularjs-application-with-a-stand-alone-web-api/comment-page-1/#comment-15964Tue, 21 May 2019 04:24:28 +0000/?p=1051#comment-15964Hi, Awesome post. Could you please tell me how can I do the same in .Net core stand alone web api and stand alone angular 7 app?

Like

]]>
By: Rahul/2016/09/08/how-to-implement-windows-authentication-in-an-angularjs-application-with-a-stand-alone-web-api/comment-page-1/#comment-240Wed, 13 Dec 2017 10:32:19 +0000/?p=1051#comment-240This was a very helpful post please keep posting, this helped me resolve an issue which I was looking into for long time.

Like

]]>
By: Alex W./2016/09/08/how-to-implement-windows-authentication-in-an-angularjs-application-with-a-stand-alone-web-api/comment-page-1/#comment-220Mon, 30 Oct 2017 19:26:15 +0000/?p=1051#comment-220thank You sir. your post helped me.

Liked by 1 person

]]>
By: Apil Londhe/2016/09/08/how-to-implement-windows-authentication-in-an-angularjs-application-with-a-stand-alone-web-api/comment-page-1/#comment-207Mon, 02 Oct 2017 11:08:59 +0000/?p=1051#comment-207Hi Ruben ,
Nice explanation . I have resolved CORS issue by setting both Windows Authentication and Anonymous Authentication on the site in IIS. This caused everything to allow anonymous. I found one more solution & which is working fine
1) Disable Anonymous
2) Add below code in global.asax.cs
protected void Application_AuthenticateRequest(object sender, EventArgs e)
{
if (Context.Request.HttpMethod == “OPTIONS”)
{
if (Context.Request.Headers[“Origin”] != null)
Context.Response.AddHeader(“Access-Control-Allow-Origin”, Context.Request.Headers[“Origin”]);

Context.Response.AddHeader(“Access-Control-Allow-Headers”, “Origin, X-Requested-With, Content-Type, Accept, MaxDataServiceVersion”);
Context.Response.AddHeader(“Access-Control-Allow-Methods”, “GET, POST, PUT, DELETE, OPTIONS”);
Context.Response.AddHeader(“Access-Control-Allow-Credentials”, “true”);

Response.End();
}
}

Like

]]>
By: How to implement Windows Authentication in an Angular (^4.3.1) application with a stand-alone Web API | Spikes Apps/2016/09/08/how-to-implement-windows-authentication-in-an-angularjs-application-with-a-stand-alone-web-api/comment-page-1/#comment-169Fri, 04 Aug 2017 09:46:00 +0000/?p=1051#comment-169[…] noticed that my post about Windows Authentication in an AngularJS application has gotten a lot of […]

Like

]]>
By: Week 8: Algemene tweaks en authenticatie | Stageblog ArcelorMittal/2016/09/08/how-to-implement-windows-authentication-in-an-angularjs-application-with-a-stand-alone-web-api/comment-page-1/#comment-88Sun, 02 Apr 2017 21:40:40 +0000/?p=1051#comment-88[…] De rest van de week heb ik authenticatie geïmplementeerd. De applicatie zal enkel op het intranet gebruikt worden, daarom is authenticatie door middel van windows gebruikers heel handig in deze situatie. De browser van de client kan de windows gebruiker ophalen en doorgeven aan de API bij elke request. De API kan zonder extra code de gebruiker authenticeren. Daarnaast kunnen de rechten van een gebruiker opgehaald worden uit een database met een custom roleprovider. bron: /2016/09/08/how-to-implement-windows-authentication-in-an-angularjs-… […]

Like

]]>
By: How to – Authorization in AngularJS application with Windows Authentication | Spikes Apps/2016/09/08/how-to-implement-windows-authentication-in-an-angularjs-application-with-a-stand-alone-web-api/comment-page-1/#comment-34Tue, 20 Sep 2016 05:12:26 +0000/?p=1051#comment-34[…] my previous post I explained how to set up windows authentication in an Angular […]

Like

]]>