Hoping someone can help me understand the “Log in a user…” workflow.
The app I’m building has a messaging function that can trigger an email to the recipient. I’d like to have a “reply” link (or similar) that includes the recipients user ID as a parameter.
Ideally, when that user clicks the link, the app:
checks for an existing login → if there is none, makes sure the user ID is valid and automatically passes the email and password corresponding to that user ID, logging them in.
The issue is that I’m unable to pull the target user’s password in the “Log in a user…” workflow function. I’ve read that a potential workaround might be to store the users password as text in my database, but I’m not thrilled with that option at all.
I agree … a user password should not be housed in the database that evidently. It can be exposed to users that have access to your editor, you could be sending it inadvertently to the browser (… you could restrict this using privacy rules).