'Make a route expire in a short time
I am trying to implement a task that for rating services. Users will be receiving a SMS text message including a short link. After click that short link, they will fill out the information and submit. And then I will store those information in the database.
That is the requirement, now move on to implement part. I am thinking to generate a route like this:
https://www.app.com/{customerId}/?access_token=fdsaf.dsaf.fdsafads
Then put it under bitly or short.io. The access_token will only valid for 10 seconds start from the time that the url is generated.
Do you think is it good enough for safety ? any suggestion would be highly appreciate. Thank you.
// Edit the question
valid for 10 seconds right after user click the url or the token expired right after the user click (dont need the 10 seconds).
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
