Hi, I use auth0 hosted Login with custom HTML and Auth0.js (auth0-js v9.12.2):
const webAuth = auth0.WebAuth(params);
webAuth.login({
realm: databaseConnection,
username: username,
password: password
}, function (err) {
if (err) displayError(err);
...
I need to implement “Remember me” option on the Login. I am not talking about refresh_token or access_token expiration, I am talking about internal auth0 cookie validation. Auth0 login on my-tenant.eu.auth0.com responses with:
set-cookie: auth0=s%3Adn9xxxxxxxxxxxxxxxxxxx.m7Awssssssssssssssssssssssssxxx; Path=/; Expires=Thu, 09 Apr 2020 12:52:22 GMT; HttpOnly; Secure; SameSite=None
In case when user does not manually and intentionally hit “Remember me” checkbox, assume ho or she works on public computer and immediately he or she closes browser session must be forgotten.
How to set up this?