0
votes

I am trying to make a rails api-based project. I am using devise token auth gem to implement token based authentication. What I would like to do is that I create a new user into the system by entering email only, and then the user receives an email with a link that can be used to set the password for the account. How may I accomplish this? Is this the same flow as the reset password thing in devise-token-auth documentation, because as I understand, an account must already exist for that.