Register users with token
-
Here https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/passwordless-login/ it says “In order to use the Passwordless Login plugin your users will need first to Register.”
I am wondering if users could be registered only with email address automatically once they click the token link in email, at least that is how I understood this works.
Could you help me understand better what the procedure would be to achieve such functionality?
I would store the user form submitted data in a custom post type with metaboxes, once the token link is clicked and verified store that data in a “users” table in wp db. Would that work, would you take another approach?
Also would the plugin provide the underlying cookie verification mechanism (I assume some sort of verification/authentication cookie is set after token URL is clicked?) in this case or would I have to use custom code or wp code for this?
Such a “users” table would only store the email address and if the token is legit per user on login. Such a user cannot access the wp backend or create posts. So not really a member in the normal sense.
The use case is that users can book taking part in an event (payment on arrival no need for payment gateway), once they confirmed via email token they are “registered” (in the sense that their email is stored in the wp db for the site) and can see a profile page where the events they are taking part in are listed. Only logged in/email-token-verified users can see their custom events page.
Any help or tips or links or whatever that helps me get this done is most welcome. I don’t really want to use shop plugins or event management plugins if I don’t really have to and think having this plugin it can be done, any directions are most welcome, thank you.
The topic ‘Register users with token’ is closed to new replies.