Comments for Spikes AppsBlog of the Spikes app developersFri, 20 Mar 2020 07:00:58 +0000hourly1http://wordpress.com/Comment on How to implement Windows Authentication in an AngularJS application with a stand-alone Web API 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

]]>
Comment on How to implement Windows Authentication in an AngularJS application with a stand-alone Web API 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

]]>
Comment on How to implement Windows Authentication in an Angular (^4.3.1) application with a stand-alone Web API by Sunil Bailwal/2017/08/04/how-to-implement-windows-authentication-in-an-angular-4-3-1-application-with-a-stand-alone-web-api/comment-page-1/#comment-17010Tue, 21 Jan 2020 12:42:55 +0000/?p=4445#comment-17010Thanks Ruben, This article help me a lot.

Like

]]>
Comment on How to implement Windows Authentication in an AngularJS application with a stand-alone Web API 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

]]>
Comment on How to implement Windows Authentication in an Angular (^4.3.1) application with a stand-alone Web API by neigh/2017/08/04/how-to-implement-windows-authentication-in-an-angular-4-3-1-application-with-a-stand-alone-web-api/comment-page-1/#comment-15923Wed, 08 May 2019 06:14:59 +0000/?p=4445#comment-15923Hey, is it possible to get the user information (nt user name) in the angular 6 app itself. I am using angular 6 (for the web interface) and flask (web api). So, I don’t really know how to get the user info in flask. It would be enough for me to get the info in angular 6 itself. Your help will be very much appreciated. Thanks.

Like

]]>
Comment on How to implement Windows Authentication in an Angular (^4.3.1) application with a stand-alone Web API by Vittorio Morellini/2017/08/04/how-to-implement-windows-authentication-in-an-angular-4-3-1-application-with-a-stand-alone-web-api/comment-page-1/#comment-15911Tue, 30 Apr 2019 16:29:27 +0000/?p=4445#comment-15911Hi Ruben,
I’ve opened the solution in VS2019, and I have 2 errors in typescript, I do not use 1.8 becaus is not available
I use the version 2.8 or 3.3
I’ve got these errors:

self.authenticatingPromise
return defer.promise

The error is in the Angular project, the web api project compile well
What do I have to do to solve this error ?

Best Regards
Vittorio

Like

]]>
Comment on How to implement Windows Authentication in an Angular (^4.3.1) application with a stand-alone Web API by Ruben B/2017/08/04/how-to-implement-windows-authentication-in-an-angular-4-3-1-application-with-a-stand-alone-web-api/comment-page-1/#comment-15448Mon, 15 Apr 2019 07:51:51 +0000/?p=4445#comment-15448In reply to Steve.

You still need to allow anonymous access to your api to handle OPTION requests.

Like

]]>
Comment on How to implement Windows Authentication in an Angular (^4.3.1) application with a stand-alone Web API by Steve/2017/08/04/how-to-implement-windows-authentication-in-an-angular-4-3-1-application-with-a-stand-alone-web-api/comment-page-1/#comment-15386Sun, 14 Apr 2019 21:20:27 +0000/?p=4445#comment-15386I’ve implemented this, but when I click on the Authenticate button, a prompt appears asking me to enter my username and password. Is this the expected behaviour? Or might I have done something incorrectly since this is windows authentication, shouldn’t Angular should pass my windows identity to the webapi service?

Like

]]>
Comment on How to implement Windows Authentication in an Angular (^4.3.1) application with a stand-alone Web API by Ruben B/2017/08/04/how-to-implement-windows-authentication-in-an-angular-4-3-1-application-with-a-stand-alone-web-api/comment-page-1/#comment-15082Fri, 12 Apr 2019 12:21:55 +0000/?p=4445#comment-15082In reply to Anil.

It’s in the article. You need an interceptor to add ‘withCredentials: true’ to the request.

Like

]]>
Comment on How to implement Windows Authentication in an Angular (^4.3.1) application with a stand-alone Web API by Ruben B/2017/08/04/how-to-implement-windows-authentication-in-an-angular-4-3-1-application-with-a-stand-alone-web-api/comment-page-1/#comment-15081Fri, 12 Apr 2019 12:19:43 +0000/?p=4445#comment-15081In reply to chintan.

You need to allow anonymous access on your API in general (not on the controllers/end points) because OPTIONS requests will be sent and they don’t pass authentication information.

Like

]]>