Chrome is auto-filling the credentials, but not log me in until I click login. How to automate? (windows, non-google websites).
In your Web session – General tab – enter your web browser URL. Then in the Login tab, click on the Authentication mode drop-down menu and select Form. Next, in the Credentials tab, enter your username and password. In the Html Control ID tab, you'll notice two options: Automatic and Discover.
Open your Chrome browser. In the address bar type in: 'chrome://flags/#enable-password-force-saving', then press “Enter.” Choose “Enabled” from the drop-down menu under the “Force-saving of passwords” option. Navigate to the bottom right of the page and click the blue “Relaunch” button.
Open your Chrome browser. Click on the three dots at the top right corner. Go to Settings, look for the Autofill section, and select Passwords. You will see a list of websites with usernames and passwords.
Using the Chrome Identity API you can have Chrome (on desktop and Android) automatically attempt to log in the user when they hit your page, even if their session has expired.
Following is a workflow diagram of how it works, but the details can be found in the Google Authentication API: Let the user automatically sign back in section:
It is not the browser's responsibility to auto-login to websites. This is the responsibility of the website you are accessing. The browser can remember form data and auto-fill for you, as can various extensions like LastPass.
However, in order to actually auto-login, you must first login to the website you are trying to access and enable the option they provide, often called 'Remember me?'. The website would typically use a cookie to store the credentials (securely with a hash + salt), and if the cookie still exists (not cleared from the browser or expired), and the hash of real password in database matches the one in the cookie, the website will auto-login.
You could force the browser to try and auto-login with extensions, which are essentially macros. You could try Auto Login or iMacros extensions for this. I would generally avoid this though.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With