Following this solution https://stackoverflow.com/a/47761138/7818637 I am designing forgot password flow APIs on rails where I am using devise_token_auth gem for authentication.
1. A POST call to send a Password Reset Email
URL: http://localhost:3000/client/auth/password
form-data: {email: 'john@gmail.com', redirect_url: 'http://localhost:3000/client/auth/sign_in'}
2. A GET call to verify the password reset token (clicked in email)
I am receiving the the following URL on my console containing redirect_url and reset_password_token:
http://localhost:3000/client/auth/password/edit?config=default&redirect_url=http%3A%2F%2Flocalhost%3A3000%2Fclient%2Fauth%2Fsign_in&reset_password_token=ZBsx64Gk1VBraM3THZTn
When I call on this URL, I am receiving the following error:
Use POST /sign_in to sign in. GET is not supported.
What I have already tried:
Following the issue here I have found that I am already using include DeviseTokenAuth::Concerns::SetUserByToken in my controller.
Console Logs:


