Page tree
Skip to end of metadata
Go to start of metadata

Last updated: Oct 12, 2018 16:41

by Christopher Alton

Problem:

Safari is not allowing for basic authentication when trying to pass the user name and password in the URL.

Example: https://user:password@website.domain.com

Limitation:

Unfortunately this is a functional limitation of the way that MACOS/iOS and Safari handle pop ups. Without basic authentication, you will not be able to log into your test site by passing the user name and password in the URL. This started around iOS 11 and in MACOS Safari 10.

Solution #1:

First, you will have to manually enter in your log in with the user name and password on the test website. Once done, proceed to run your automation.

There is currently no other work around when using Safari on MACOS/iOS

Secondary #2:

Google Chrome and Firefox on MACOS/iOS support basic authentication. Passing the user name and password in the URL will work on Google Chrome and Firefox within the MACOS/iOS environment.


Updated 10-12-2018