how to make a link expire ?

0
hi team ,  i want to make a link expire . how i can achieve it ? in my application i used deeplink to generate the random URL link and send this link as a mail . when user perform there task through this link , i want this link get expired . How i can achieve it . Please explain in brief .    Thanks in advance !!
asked
1 answers
0

You can use jwt module and create your own expiring tokens.

If you validate expire dates of the tokens on your endpoint, I think that will solve the problem.

You can check 

https://medium.com/@byeduardoac/managing-jwt-token-expiration-bfb2bd6ea584

 

answered