I am implementing a forgot password function into my spring boot project. Therefore I send a token to the user email and with that token the user can set a new password. Aft