Is there a way to have iOS remember passwords to HTTP authenticated sites? [duplicate]
There's a page I frequently access on my iPhone that's protected by HTTP authentication, and I'm finding it annoying having to type in my username and password every time I want to access it. I tried saving the logged-in page as a home screen icon, but I'm still prompted every time. There isn't option to save my password when I'm logging in, and I can't find one in the settings either.
Is this possible?
example authentication screen to show what I'm referring to
It seems that Safari on iOS doesn't support this natively. You have a couple options:
Workaround:
If you're not too worried about security, you can embed the username and password in the link itself, and bookmark that:
http://username:[email protected]/...
(Also of note: it sounds like iOS may pop up a warning when you visit a link that includes a username and password.)
Alternative:
There is another browser called Atomic Web Browser [App Store link] that can autofill HTTP authentication, among many other neat features.
I just had to do this on the latest version of iOS as of this date, 10.1.1. I also had to make a shortcut on the home screen. Problem was, putting the username:password in the URL wouldn't work because Safari would immediately remove the username:password from the URL, so I couldn't capture the fully-formed URL in a home screen shortcut.
I made a web page that redirected (JavaScript) to the fully-formed target URL (e.g., http://user:pass@hostname). I navigated to it in Safari, and Safari preserved the fully-formed URL for some reason. From there I made a home screen shortcut.
You can do this with the app 1Password. You just have to use the browser inside of the app.
Create a login in the app with the appropriate URL, username and password.