Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Data Services
Viewing all articles
Browse latest Browse all 58696

Browser authentication dialog when HTTPService fails with a 401 response code

$
0
0
I am using a HTTP Service to talk to a third party API and passing username/password in HTTP Basic Auth header.
When i enter wrong credentials through my application, as expected i get a 401 unauthorized response. But before the fault handler gets called, my browser shows the authentication dialog asking me to re-enter the username/password.

It happens on safari and firefox browser on OS X. I have not checked other environments.

Is this expected? I do not want the browser to show me an authentication dialog and want my application
to handle the 401 error.

thanks,
Sunil

Viewing all articles
Browse latest Browse all 58696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>