<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[trouble sending the passwordless email]]></title><description><![CDATA[<p dir="auto">I am using the php client lib. Here are the steps I have completed successfully:<br />
$client-&gt;register<br />
$client-&gt;startPasswordlesslogin<br />
Now I want to send the email to the user so they can complete the login.<br />
At this step I tried using $client-&gt;sendEmail($emailTemplate,$request);<br />
I am getting a 400 error [empty]userIds message: required<br />
Here is the request payload:<br />
{"code":"SLsLRsQHmTcdcx5t1zWqHNTLpO1kjRWrM9s7ZNhd1Xk"}</p>
<p dir="auto">The code I am sending is the one I received from startPasswordlessLogin(). Am I following the correct steps for my use case? From the manual for POST /api/passwordless/send only the code is required. Why is it asking for the userIds?  I don't want the user to have to enter a code at all. Rather I just want them to click on the link in the email to complete the login. Are users <em>required</em> to use a code to complete the login?</p>
]]></description><link>https://fusionauth.io/community/forum/topic/495/trouble-sending-the-passwordless-email</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 11:20:27 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/495.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 24 Oct 2020 11:43:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to trouble sending the passwordless email on Fri, 30 Oct 2020 15:58:39 GMT]]></title><description><![CDATA[<p dir="auto">Ah, I see how that could be confusing. Sorry about that. Glad you got it sorted out and it works!</p>
]]></description><link>https://fusionauth.io/community/forum/post/1567</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/1567</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Fri, 30 Oct 2020 15:58:39 GMT</pubDate></item><item><title><![CDATA[Reply to trouble sending the passwordless email on Fri, 30 Oct 2020 01:21:59 GMT]]></title><description><![CDATA[<p dir="auto">I am using the php client. In the documentation (<a href="https://github.com/FusionAuth/fusionauth-php-client/blob/master/src/FusionAuth/FusionAuthClient.php" rel="nofollow ugc">https://github.com/FusionAuth/fusionauth-php-client/blob/master/src/FusionAuth/FusionAuthClient.php</a>) there are 5 function calls that start with the word "send". Here they are:<br />
<strong>public function sendFamilyRequestEmail($request)<br />
public function sendEmail($emailTemplateId, $request)<br />
public function sendPasswordlessCode($request)    &lt;&lt;&lt;this one works!!<br />
public function sendTwoFactorCode($request)<br />
public function sendTwoFactorCodeForLogin($twoFactorId)</strong></p>
<p dir="auto">I got it working! As you can see the php client doesn't line up EXACTLY with the passwordless guide.</p>
]]></description><link>https://fusionauth.io/community/forum/post/1565</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/1565</guid><dc:creator><![CDATA[richb201]]></dc:creator><pubDate>Fri, 30 Oct 2020 01:21:59 GMT</pubDate></item><item><title><![CDATA[Reply to trouble sending the passwordless email on Thu, 29 Oct 2020 03:29:54 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">I just don't get why it is complaining about the userIds for the sendEmail() when that is not a required field.</p>
</blockquote>
<p dir="auto">Have you seenthe <a href="https://fusionauth.io/docs/v1/tech/guides/passwordless/" rel="nofollow ugc">passwordless guide</a>? You don't want to call <code>sendEmail</code> when trying to send someone a passwordless email.</p>
<p dir="auto">Instead, you want to call <code>/api/passwordless/send</code></p>
<blockquote>
<p dir="auto">Is there some logging feature where I can see what exact Posts are working from the console so i can make sure that my code is doing the same thing?</p>
</blockquote>
<p dir="auto">Not really. You can open your browser's dev console and see what the admin UI is doing, but that's not a one to one mapping with the API.</p>
]]></description><link>https://fusionauth.io/community/forum/post/1558</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/1558</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Thu, 29 Oct 2020 03:29:54 GMT</pubDate></item><item><title><![CDATA[Reply to trouble sending the passwordless email on Wed, 28 Oct 2020 05:02:04 GMT]]></title><description><![CDATA[<p dir="auto">Yes, I am able to send the email via the FA console. I just don't get why it is complaining about the userIds for the sendEmail() when that is not a required field.</p>
<p dir="auto">Is there some logging feature where I can see what exact Posts are working from the console so i can make sure that my code is doing the same thing?</p>
]]></description><link>https://fusionauth.io/community/forum/post/1550</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/1550</guid><dc:creator><![CDATA[richb201]]></dc:creator><pubDate>Wed, 28 Oct 2020 05:02:04 GMT</pubDate></item><item><title><![CDATA[Reply to trouble sending the passwordless email on Tue, 27 Oct 2020 01:42:35 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">Are users required to use a code to complete the login?</p>
</blockquote>
<p dir="auto">Typically, yes. That is what the passwordless login is all about. A one time code is generated and that is delivered (via email or some other means). When it is provided, the code authenticates the user.</p>
<p dir="auto">You can send the email using FusionAuth or by sending it yourself.</p>
<p dir="auto">Have you reviewed the passwordless guide? That's pretty detailed in terms of stepping you through the process: <a href="https://fusionauth.io/docs/v1/tech/guides/passwordless/" rel="nofollow ugc">https://fusionauth.io/docs/v1/tech/guides/passwordless/</a></p>
]]></description><link>https://fusionauth.io/community/forum/post/1534</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/1534</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Tue, 27 Oct 2020 01:42:35 GMT</pubDate></item></channel></rss>