Solved. The error code coming back is [duplicate]user.email. I just need to ignore that!
richb201
@richb201
Best posts made by richb201
-
RE: How to restart FusionAuth
-
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: my passwordless email
Thanks. I didn't actually see that other response until just now. I will act on it.
-
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:).
-
RE: where to enter smtp credentials
Dan, SES requires a SMTP username and password. I have them. But where do I enter them in the FA UI? I do see a place for a username in the SMTP setup in Tenant. But how about the password? where does that go?
-
RE: where to enter smtp credentials
Thanks Dan. I did have it going previously with SES but I lost that configuration. Is there some fusionauth config file that I could search my hard drive for? That could save me a huge amount of effort.
-
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
I believe that this issue was solved. Seems that I was getting confused between the DATABASE_USERNAME and the DATABASE_ROOT_USERNAME. This was causing the error count to exceed the default. I think all is AOK. Thanks.
-
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?