I am building an e-commerce website with Wordpress. And I have list of emails and names. My website need to be accessed only by people with those emails when they click on a link on another custom website wich is not build with Wordpress.
What I want is, when clients click the link to my Wordpress website, they automatically get logged in in Wordpress and they strat right away shopping.
Please how can I achieve this ?
The soution I thinkef of is to pass email as parameters in the URL. Then in wordpress I will create a new user with the passed email and I will logged the user in then I will redirect the user to the home page.
Is this a good solution ?