troubleshooting Question

Safari authentication problem

Avatar of cudimax
cudimax asked on
Web BrowsersWeb ApplicationsJavaScript
2 Comments1 Solution1745 ViewsLast Modified:
Hello,

We have a webtool, that requires an authentication.
To authenticate a user, we use the xmlhttprequest object in javascript, this object has a function 'open', where you can define the username and password for the request.
This works fine in most of the browsers, but not in safari.
We found out, that safari does not send the credentials, with the request. It doesn't send the authorization header.
Even if we use the basic html authentication, we are not able to autorize the client correctly. Safari sends the autorization header only one time, in the next request, the authorization header is gone again.

Do you have some good information about safari's authorization issues? Or better, does someone have an idea for a workaround?
ASKER CERTIFIED SOLUTION
mmconsultant
Owner

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros