# Specified sender delegation has expired

**URL:** <https://forum.dfinity.org/t/specified-sender-delegation-has-expired/6208>\
**Category:** Developers\
**Created:** [July 30, 2021, 6:57am UTC](https://forum.dfinity.org/t/specified-sender-delegation-has-expired/6208 "2021-07-30T06:57:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![PaulLiu](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/paulliu/32/4701_2.png) [@PaulLiu](https://forum.dfinity.org/u/PaulLiu)\
**Post date:** [September 9, 2021, 5:39am UTC](https://forum.dfinity.org/t/specified-sender-delegation-has-expired/6208/2 "2021-09-09T05:39:47Z")

</div>

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](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.

---

_[View the full topic](https://forum.dfinity.org/t/specified-sender-delegation-has-expired/6208)._
