id like to send customers a payment-link (subscription), but I want that the customer is also straight logged in, so he doesn’t need to manually login with email/pw.
I tried to use the key_login instead of magic_link but that doesn’t seem to work as the ?redirect= won’t work.
Here is my approach but
I don’t know how to generate the magic token
I’d rather have it like the client portal link without expiration
correct, that is the regular client portal link you find in invoiceninja “clients → mr x. → Contacts”. This link works as a login without a password.
But how:
a. Maybe you can use the API to set a custom message in the client portal which includes the link
b. I’m not sure if that’s supported, I suggest asking in a disucssion on GitHub.