Solved. The error code coming back is [duplicate]user.email. I just need to ignore that!
Best posts made by richb201
-
RE: How to restart FusionAuth
-
RE: adding passwordless login to a wordpress page?
Thx Dan, I read it. It might be more trouble than it is worth. I am thinking a link from landing page to the initiation of the passwordless might do the trick, although i do need the users to register (both for fa and for me).
<a href="http://localhost:9011/oauth2/register?client_id=f603697d-41ea-4c53-xxxx-e935d5e34221&response_type=code&redirect_uri=http%3A%2F%2Flocalhost%2Findex.php%2FConfigure%2Fcampaign_management_with_actions">Register</a>
-
backing up my FA configuration
I am running FA on my docker based PC. I'd like to backup the FA database to BackInTime just in case. What directory do I backup?
-
RE: My plan -will this work?
Thanks Dan. As soon as my consultant get the API for php installed I will get right on it.
-
RE: error when trying to send test email
Never mind. I solved this. I thought that "change password" was going to be a prompt for the user, not for me to set up the password. Once I did, it worked.
-
RE: Login with Magic Link?
Are you asking for some free consulting ?
No, I can play this "trial and error" game for months :). Seriously though, I am a little concerned that I couldn't enter the URL for quite a few days and then it started working. I just want to be sure that the authorized request origin URL is actually being used. Is there some easy way to test that without using the API?
Did I mention that I appreciate your help and the T-shirt too? -
RE: where to find the /api/status response?
Solved (I think). This line above needed to be changed
from
$client = new FusionAuth\FusionAuthClient($apiKey, "http://localhost:9011");
to
$client = new FusionAuth\FusionAuthClient( $apiKey, "http://fusionauth:9011");Now I get the error code lijke in your example that will allow me to fix this thing. In your example above you use localhost too. So how does yours work when mine does not? I am using Docker btw. If using fusionauth:9011 will cause me other headaches, please let me know before I break out the champagne!
Also, we discussed putting my client secret in the Oauth login URL. I was concerned about security when doing that. Can you please recommend an easy, more secure place to keep those fields?
-
RE: where to find the /api/status response?
solved. I needed to type DELETE.
-
RE: trouble sending the passwordless email
I am using the php client. In the documentation (https://github.com/FusionAuth/fusionauth-php-client/blob/master/src/FusionAuth/FusionAuthClient.php) there are 5 function calls that start with the word "send". Here they are:
public function sendFamilyRequestEmail($request)
public function sendEmail($emailTemplateId, $request)
public function sendPasswordlessCode($request) <<<this one works!!
public function sendTwoFactorCode($request)
public function sendTwoFactorCodeForLogin($twoFactorId)I got it working! As you can see the php client doesn't line up EXACTLY with the passwordless guide.
-
RE: getting invalid client error
I am not using elastic search. But I thank you for your help, but I am getting to it a different way. I have stuffed the use's email into the "state" variable and then on the app side I am using that as an index. So while it is not the most "pretty" solution, I think it might work.
-
RE: my passwordless email
Thanks. I didn't actually see that other response until just now. I will act on it.
-
RE: fusioAuth install is damaged?
@maciej-wisniowski That was done when we found that there was a bug in
#FROM fusionauth/fusionauth-app:1.19.4
and we replaced it with:
FROM fusionauth/fusionauth-app:1.19.7
-
RE: why must a password be included on a form?
Yes it does. I pretty much had come to the conclusion that I need to build my own login form, and you confirmed that. And have it submit to my code which will then start passwordless via the API.