Project

General

Profile

Trigger "Remember Password?" Event in Google Chrome

Added by Zach Motsinger almost 9 years ago

I am trying to figure out why Google Chrome never asks if I want to remember my password, but I can't seem to find anything.

I am using cookies with setAuthTokensEnabled, and I can verify in developer tools that the cookie is being created.

I have a "Remember Me" checkbox that is begin checked.

I am using all of the various authentication widgets and forms in the same way they are outlined in the tutorials.

I am not sure what the issue is. Can anyone provide any insight as to what is required to make this happen?


Replies (2)

RE: Trigger "Remember Password?" Event in Google Chrome - Added by Zach Motsinger almost 9 years ago

So I have followed this page (http://www.webtoolkit.eu/wt/doc/tutorial/auth.html) as closely as possible, and still no results.

I have also tried to adopt standard naming conventions, as outlined in this post (http://stackoverflow.com/questions/7223168/how-to-trigger-autofill-in-google-chrome/9795126#9795126).

I am also using a progressive bootstrap to render the page as plain HTML.

Not sure what else I can do. It seems like everyone discussing this topic seems to be in agreement that, "It just works." I am beginning to wonder if it is even possible to achieve this functionality using Wt.

RE: Trigger "Remember Password?" Event in Google Chrome - Added by Koen Deforche almost 9 years ago

I did some reading, and indeed, it seems that what used to work no longer works.

Any "workaround/hack" solution will require some effort inside Wt:

  • Rendering the page inside a 'form' which isn't removed immediately upon progressing to Ajax
  • submitting the form to a hidden 'iframe'
  • The above behavior will need to be optionally enabled by new API

My reference:

http://stackoverflow.com/questions/9201858/how-to-store-to-browser-auto-complete-auto-fill-when-using-ajax-calls

Koen

    (1-2/2)