mikker / passwordless

🗝 Authentication for your Rails app without the icky-ness of passwords
MIT License
1.29k stars 88 forks source link

Embed redirect URL in magic link #185

Open richardlawrence opened 1 year ago

richardlawrence commented 1 year ago

I'd like to send a magic link that contains the post-authentication URL to redirect to. Is there a way to do this already built into passwordless?

richardlawrence commented 1 year ago

I found the destination_path param option in the source code and got that to work. Should that behavior still be in the README?

mikker commented 1 year ago

Good digging! Yes, I think it would be great to have that included in the readme somewhere. PR welcome 😊