How can I have iOS Safari remember credentials for websites with HTTP(S) Basic Authentication? I have a HTTPS website which is protected by basic authentication. When I use Safari on macOS to access this website, it will store my credentials (in the Keychain). However, Safari on iOS (11.2.6) refuses to do so. I can click on the key icon on the top right of the keyboard, but it will show only credentials from  form-based websites (the same list as in macOS Safari -> Preferences -> Passwords). Is there any way I can force Safari on iOS to remember these basic authentication credentials?
Safari does not support saving the credentials for basic authentication. That's why you're not asked to store it.

There are basically three work-arounds you can use:

The first is simply to create a bookmark that contains your credentials. Note that this should only be done if the credentials aren't "important" - like for example if this is one of those commercial web sites that allow anyone in that knows that this year's password is "2019" or something like that. Then you can create a bookmark for the URL like this:

http://user:pass@website.com/


When you open that bookmark, you'll not be asked for credentials, but will be logged in automatically.

If you require an ordinary amount of security regarding the saved credentials, you can instead use a different work around. On your device, access Settings and then Passwords &amp; Accounts and then App &amp; Website Passwords. At the top is a + icon that you can click to add your web site and the username and password.

Contrary to form based password authentication, the information you enter there will not be automatically filled out. However when you get the username/password popup, you have the option of clicking the little "key" icon to select the stored credentials.

The third possible work-around is to use a Mac logged in to the same iCloud account with Keychain enabled. Access the web site using Safari on the Mac, and you'll be able to store the credentials.

On the iOS device the credentials will not be automatically filled out, but you will be able to press the "lock" icon in the popup to allow choosing the credentials you've stored on the Mac.