Sub topic 5
Saving a login from Safari or adding one by hand
This chapter covers the two ways a login gets into the Passwords app: Safari offers to save it when you sign in, or you type it in yourself. You should already know how to turn on AutoFill in System Settings, which the previous chapter covered. You should also be signed in to an Apple Account with iCloud Keychain on, so saved entries sync.
What a saved login contains
Each entry is one record. Whichever way you create it, it holds the same fields:
| Field | Purpose | Required |
|---|---|---|
| Title | Label shown in the list. Usually taken from the site name. | Filled in automatically |
| Website | The address the entry is matched against when filling. | Yes, for filling to work |
| User Name | Account name or email address. | Normally yes |
| Password | The secret itself. | Yes |
| Verification Code | Setup for two-factor codes (covered in a later chapter). | No |
| Notes | Free text, such as the security question you chose. | No |
The Website field decides where the entry can be used. Safari compares the site you are visiting with this field, so a mistake in it is the most common reason a manually added login never fills.
Saving from Safari
Safari watches for a sign-in form being submitted. The sequence is:
- Open the site and enter your user name and password. Type them yourself, or accept a password the Mac suggests (see the next chapter).
- Submit the form.
- If the site accepts the sign-in, Safari shows a prompt asking whether to save the password.
- Choose one of the options below.
| Choice | Result |
|---|---|
| Save Password | Creates an entry in the Passwords app. Syncs through iCloud Keychain. |
| Not Now | Nothing is saved. Safari asks again at the next sign-in. |
| Never for This Website | Nothing is saved, and Safari stops asking for this site. |
Safari has several behaviors you should expect:
- It waits for success. The prompt generally appears after the site accepts the sign-in. A failed attempt with a wrong password should not create an entry.
- It offers updates, not duplicates. If an entry already exists for the site and user name, and you sign in with a different password, Safari offers to update the saved password. If the user name is different, it offers to save a new entry.
- It saves what you submitted. If a site silently changed or trimmed your input, the saved value may differ from what you meant to type.
Adding a login by hand
Manual entry is the right choice in several cases:
- You are moving a few accounts from a notebook or another tool.
- A site uses a sign-in form Safari does not recognize.
- You want the entry to exist before you ever visit the site.
- You want to store something that is not a website sign-in, such as an app account, with a clear title and notes.
To add an entry:
- Open the Passwords app and unlock it if asked.
- Click the add button (+) in the window's toolbar and choose to add a new password.
- Fill in Website, User Name and Password. Add Notes if useful.
- Click Save.
The new entry then appears in the list and syncs like any other.
Enter the Website as the address you actually sign in at. Use the domain, such as example.com, rather than a deep link to a page that requires you to already be signed in. A bare domain matches most pages of the site, while a long path with session parameters may not.
Choosing between the two methods
| Situation | Better method |
|---|---|
| New account you are creating now | Safari, with a suggested password |
| Existing account you sign in to regularly | Safari: sign in once and accept the save prompt |
| Several accounts from paper records | Manual entry |
| Many accounts from another password manager | Import (a later chapter) |
| Site that never shows a save prompt | Manual entry |
Safari is usually less error-prone because it records the exact host name the site uses. Manual entry puts the typing, and the typos, on you.
Edge cases and common errors
No save prompt appears
Check these in order:
- AutoFill for passwords is on in System Settings (the previous chapter).
- You did not previously choose Never for This Website. If you did, Safari will not ask again until you remove that site from the never-saved list in the Passwords app's settings.
- The sign-in actually succeeded. Some sites show an error that looks like a normal page, so confirm that you got in.
- You are not in a mode that avoids saving data. Private Browsing generally does not offer to save passwords the way a normal window does.
- The site marks the field with an attribute that asks browsers not to save it. Some sites do this deliberately. Adding the entry by hand is the workaround.
The entry saved but will not fill
The cause is usually a Website mismatch. An entry saved for login.example.com may not be offered on example.com, and the reverse can also happen. Open the entry, check the Website field, and edit it to match the address where you actually sign in. If a site uses two different sign-in domains, create two entries rather than trying to stretch one.
Duplicate entries for one site
Duplicates appear when the user name differs slightly ([email protected] against [email protected]), or when you added an entry by hand and Safari then saved a second one. Keep the entry that works, and delete the other one in the Passwords app. Deleted entries can be recovered for a limited time, which a later chapter covers.
A saved password is out of date
Sites that force a password change often leave the old entry behind. When you set the new password in Safari, accept the update prompt. If you skip it, edit the entry yourself, because a stale password makes AutoFill fill the wrong value every time.
A worked example
Suppose you are creating an account at a shop called Example Store.
- In Safari, open the sign-up page and enter your email address.
- Accept the suggested strong password when Safari offers it.
- Submit the form. Safari saves the entry under the site name.
- Open the Passwords app and search for
example. The entry shows Websiteexample.com, your email as the user name, and the generated password. - Add a note, such as "Created for order tracking," so you remember why the account exists.
Later, you need an entry for the shop's separate trade portal, which Safari never prompts for. In the Passwords app, you add a new entry with the title "Example Trade Portal," Website trade.example.com, and the account details. You then visit trade.example.com and confirm that the sign-in fields offer the entry.
Exercise
You added a login by hand with the Website set to https://www.example.com/account/dashboard?session=8841. Safari never offers it on the sign-in page at www.example.com. What is the most likely cause, and what should you change?
Show answer
The Website field holds a deep link with a path and session parameters, which does not reliably match the sign-in page. Edit the entry so the Website is the plain sign-in address or domain, such as www.example.com, then revisit the site to check that the entry is offered.
Exercise
Safari offered to save a password last month, and you clicked Never for This Website. You now want Safari to ask again for that site. What can you do right now to keep the login without waiting for Safari?
Show answer
Add the login by hand in the Passwords app, using the site's sign-in address as the Website. To make Safari prompt again, remove the site from the never-saved list in the Passwords app's settings.