HI
We are using the PAS basic authentication method for our application.
The UI is developed in Angular and calls a basic authentication PAS.
The issue we have is that when a user enters invalid credentials and the basic auth pas is called a 401 error is returned and the following header
WWW-Authenticate:Basic
This header then prompts the browser to prompt for the username and password credentials, which we do not want as we want the UI to handle the invalid credentials.
Has anyone seen this issue or has a work around?
Thanks
Christian.
Hi Christian,
For an AngularJS based applications, you can send "application/json" header with your request you can not prompted anymore for username and password, if your credentials are invalid.
Hi Christian,
You need to send the username and password on the connection to PASOE in order to avoid the popup from the browser. We do this in our Kendo UI Builder generated angular applications using the JSDOSession. Have you taken a look using Kendo UI Builder?
-Shelley