In order to gain more flexibility on the Login Page UI, I use Custom UI Form instead of Lock.
I want to add a checkbox to let the user being able to choose to active ‘Remember Me’ or not.
What I thought is that, I should be able to get a boolean from the checkbox, which is an additional form field, and pass that boolean to my website through login. And in my website, I probably can get that boolean from user_metadata, and use that boolean to decide to save cookie or not.
In Lock, it supports this kind of service, using
additionalSignUpFields in the options. But, if I choose to use custom form with auth0-sdk, how do I achieve this? Thanks.