You can pass maxTimeToLive when you do authClient.login. It’s a 64 bit integer representing nanoseconds.
https://erxue-5aaaa-aaaab-qaagq-cai.raw.ic0.app/auth-client/interfaces/authclientloginoptions.html
Max seems to be 8 days even when I set it to be longer.