Solved. The error code coming back is [duplicate]user.email. I just need to ignore that!
Best posts made by richb201
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
$client = new FusionAuth\FusionAuthClient($apiKey, "http://localhost:9011");
$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: 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.
Latest posts made by richb201
RE: adding passwordless login to a wordpress page?
Well I got the link that pops up the login almost working. Here is the error :
error" : "invalid_request",
"error_description" : "Invalid redirect uri http://localhost:3000/oauth-redirect",
"error_reason" : "invalid_redirect_uri"
Looking at the application configuration i see:
Authorized redirect URLs: ???
What goes in here? Is that the URL to my app's controller where I begin a Authorization Code grant?
"As soon as the link is clicked, the user has begun an Authorization Code grant. You can consume the authorization code using a library or your own code. Whatever you would normally do if someone signed in with a password, you can now do here. This means that you’ll be provided with the same refresh tokens, user data, or JWTs that would be delivered if the user had signed in with a password."
RE: where to enter smtp credentials
That was there! I was wondering about that but was scared to eff with it. That is the way to enter a password? You guys should change the label to "change SMTP password". Even now I would be concerned that it change my SMTP password on AWS.
Dan, playing with trial and error is a great way to eff things up on an almost working system.
adding passwordless login to a wordpress page?
OK. I am back to trying to get setup to allow users to login to my app from my wordpress page. From my POV, they just need to enter their email address in a form built into the wordpress page, and FA will send them an email with a link to login, pretty much a standard passwordless. The question is how to hook up wordpress to a small app which talks to FA? Any pointers are appreciated?
RE: where to enter smtp credentials
OK. I figured it out and I am posting this for all the other users who get this error with the SMTP test. It only took me about 8 hours to figure this out :(. The password field disappears after a password has been attempted, even if it is wrong. The only way to fix it is to delete the entire tenant and enter the data again. This should be documented. In searching through the forum this is a very common problem with a super simple answer. The password field just disappears by itself. I guess it is a feature:).
where to enter smtp credentials
I am getting this error when I try to send a test email through tenents:
Unable to send email via JavaMail535 Authentication Credentials Invalid
Where should I enter the credentials that my smtp server needs?
The instructs say to enable smtp. Where is that done? I dont see an enable toggle.
Also while I have your attention, I want to have my users initiate a passwordless registration/login via my wordpress site. I will be self hosting this. Can you point to any docs that describe such a scenerio?
RE: Hosting on RDS
Dan, I moving this discussion up to github since it seems to be an issue possibly with fusionauth/fusionauth-app:1.19.7 or perhaps the config of RDS.
One more thing. I do not have a mysql image in my docker container. This was taken out because of the use of RDS, but I am not sure FA can tolerate this?