iChido
iChido

Reputation: 4634

Save Username/Password on Google Chrome for a localhost Address

Google Chrome does not allow me to save a Password and Username for one of my locahost addresses. It didn't have this problem in past versions but now I get the warning that the address is missing a .com at the end.

Does anyone know a way to force Chrome to accept credentials for one of my localhost applications?

For my server type I'd rather not use 127.0.0.1

Sample of error message

Upvotes: 16

Views: 8716

Answers (8)

Leman
Leman

Reputation: 11

I inadvertently found a way to trick it that seems to work perfectly. I was cutting and pasting the "did you mean suggestion to see if it worked and accidently pasted in the ?.com? at the end. Entering https://siteURL:9999?.com? strangely allows the site to be saved and it it is correctly shown as https://siteURL:9999 in the list. I think Google is assuming the ? mark is part of an unnecessary HttpGET string and truncates it leaving you with the correct URL.

Upvotes: 1

Itay6
Itay6

Reputation: 21

Adding a '.' in the end of the "https://localhost:xxxxx/" will fix it, that marks 'all' following addresses of that path.

Upvotes: 1

Vladimir Molinek
Vladimir Molinek

Reputation: 1

  • Right-Click Site Input Field and select Inspect
  • While input element is selected switch to "Event Listeners" Tab
  • Expand "blur" and "change" events and delete everything using trash icon
  • Now you can save any URL, repeat for each new password

Upvotes: 0

WestMountain
WestMountain

Reputation: 645

You can try this, it work on my computer http://127.0.0.1:3000

Upvotes: 2

Mario
Mario

Reputation: 36537

Create a new text file, e.g. my-new-passwords.csv and insert the following content:

name,url,username,password,note

You can then add extra lines with your actual data. I didn't dig too deep into this, but here's what I got so far:

  • name can be any identifier you want to use as far as I can tell. Just use the domain name to be sure.
  • name is the start of the URL that has to match.
  • username and password are your actual logins in plain text.
  • note would be an arbitrary note you can add (just like in the password manager).
name,url,username,password,note
someserver,http://someserver/,myloginname,mypassword,

Once this is done, you should be able to import the file in the Password Manager and it will confirm the number of passwords it read. There's also an option to immediately delete the file just in case.

Upvotes: 6

drigue
drigue

Reputation: 221

Try adding a . sign at the end. The error should disappear and password suggestion on the page should work.

Upvotes: 19

Zephyus
Zephyus

Reputation: 11

I had a similar issue with an internal web server that needed to be accessed as http:\\SITE:456

I got around Chrome's over-helpful domain extension validation by importing the url, username, and password from a CSV.

You can run a password export from Chrome to get the CSV's format.

Upvotes: 1

ninjamar
ninjamar

Reputation: 66

Using 127.0.0.1 instead of localhost seems to work

Upvotes: 2

Related Questions