I want to allow users to reset their password. In order to do so, I first check if their email exists in the database, if so, I send them an email with a link to a reset-password page. In order to make sure the link is secure, the latter is made with a jwt token that is only valid for 15mn.
However, the url cannot be reached because there are "." in the jwt:
http://www.myapp.com/reset-password/eyJhbGciOInR5cC.ICJlywY2svp6eL98LHd.RpYylmPI
If I remove the dots, the url is understood (I use React router by the way). How to fix this? Is there another way to achieve this reset formula with a temporary url?