Running Rails 6 on Heroku but have same problem on localhost. When the devise reset password link gets sent it has an address of ... https://url9208.domain.org/ls/click?upn=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ...
That 'url9208' before the domain doesn't go anywhere. How do I make this work? Or how do I get rid of the url9208 part or is that suppose to be there?
Assuming you use SendGrid.. You can try to turn off click tracking to get rid of the url9208. When it is on, SendGrid overwrites the links in your email template and adds a subdomain.
I had an issue because the SSL certificate didn't cover such a subdomain that was added to password reset links. Turning off click tracking worked in my case.