mikker / passwordless

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

Embed redirect URL in magic link #185

Open richardlawrence opened 7 months ago

richardlawrence commented 7 months 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 7 months 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 7 months ago

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