Internet Identity extend delegation expiration time

Is it possible to extend the delegation expiration time of an Internet Identity on the client side? Is it possible to extend the delegation expiration time of an Internet Identity on the client side?

If you’re referring to extending the expiration time of an existing delegation issued by II — such as prolonging a session because the user is active — the answer is no.

If, instead, you are referring to configuring the expiration time of an identity before performing the login with the Internet Identity, and assuming you are using the @dfinity/auth-client package, then you can:

Okay, thank you very much. So, the user must re-authenticate, which will set a new delegation expiration time.

Yes. To be precise, it won’t set the expiration time on the existing delegation but will create a new delegation but, yes.

2 Likes