<?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[invalid_redirect_uri]]></title><description><![CDATA[<p dir="auto">Re: <a href="/community/forum/topic/601/invalid-redirect-uri">Invalid redirect uri</a></p>
<p dir="auto">I was having this problem about 18 months ago while working on a different part of the application. Now I am trying to do a passwordless to a gmail account and i am getting</p>
<pre><code>{
  "error" : "invalid_request",
  "error_description" : "Invalid redirect uri 35.153.28.164/index.php/Configure/report_generator_amazing",
  "error_reason" : "invalid_redirect_uri"
}
</code></pre>
<p dir="auto">At the tim ethe answer was that the email client that I was using for testing was mangling the email. But now I am using gmail. Can't be much more common than that!</p>
<p dir="auto">I don't see anything wrong with that uri. When I copy it and paste it into the browser it seems to work fine (except for missing some data, that I will take care of). In this case I am using a gmail account. 18 months ago there was a bug dealing with pre-fetch (see previous topic). Was that ever solved?</p>
]]></description><link>https://fusionauth.io/community/forum/topic/972/invalid_redirect_uri</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 12:38:08 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/972.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 23 Apr 2021 03:51:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to invalid_redirect_uri on Wed, 30 Jun 2021 16:42:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/279">@richb201</a></p>
<blockquote>
<p dir="auto">The documentation says that this is optional. But not in my case.</p>
</blockquote>
<p dir="auto">Can you elaborate on where you found this in the doc?</p>
<blockquote>
<p dir="auto">The error should say missing "X-FusionAuth-TenantId"</p>
</blockquote>
<p dir="auto">Can you elaborate on this?</p>
<blockquote>
<p dir="auto">When I get back the "code" do I need to manually convert it to a token, or is this done automatically?</p>
</blockquote>
<p dir="auto">You may want to review <a href="https://fusionauth.io/learn/expert-advice/oauth/modern-guide-to-oauth/#logging-in" rel="nofollow ugc">our OAuth guide</a>.  Using a OAuth2 flow, it is common to have two separate endpoints (<code>authorize</code> and <code>token</code>) to obtain access.  The "code" is returned from FusionAuth and is used (in conjunction with a few other possible factors) to obtain an access token (in our typescript client, this is the <code>client.exchangeOAuthCodeForAccessTokenUsingPKCE</code> function)</p>
<p dir="auto">We do have a few tutorials as well, that show this in action (<a href="https://fusionauth.io/docs/v1/tech/5-minute-setup-guide/" rel="nofollow ugc">nodeJS tutorial being one of them</a>)</p>
<p dir="auto">Lastly, for general housekeeping's sake, this thread is getting a bit long, with a few related posts clumped together.  For future questions, if the question is unrelated to the posts immediately above, it might be good to open a new thread.</p>
]]></description><link>https://fusionauth.io/community/forum/post/3307</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/3307</guid><dc:creator><![CDATA[joshua]]></dc:creator><pubDate>Wed, 30 Jun 2021 16:42:13 GMT</pubDate></item><item><title><![CDATA[Reply to invalid_redirect_uri on Sun, 27 Jun 2021 20:00:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/279">@richb201</a></p>
<p dir="auto">I needed to set  $request["X-FusionAuth-TenantId"]=$_SESSION['tenantID_login'];</p>
<p dir="auto">The documentation says that this is optional. But not in my case.  Addendum: I ran it a few times and it worked ok. I went back into FA  to change the location of the URL, saved it and again it doesn't work. This is just way too unstable for me to use passwordless w/o having a decent error message. I am going to switch over to passworded login,  unfortunately. One more last question. When I get back the "code" do I need to manually convert it to a token, or is this done automatically?</p>
<p dir="auto">On a regular old password method, I'd only like to allow them to log in if they are already on my email list. I have a way to check that. Is there some way to use a webhook to launch a check (of sendPulse) to make sure they are on my email list?</p>
]]></description><link>https://fusionauth.io/community/forum/post/3280</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/3280</guid><dc:creator><![CDATA[richb201]]></dc:creator><pubDate>Sun, 27 Jun 2021 20:00:10 GMT</pubDate></item><item><title><![CDATA[Reply to invalid_redirect_uri on Sun, 27 Jun 2021 09:57:01 GMT]]></title><description><![CDATA[<p dir="auto">The bottom line is that the error says that the redirect URI is in error.<br />
{<br />
"error" : "invalid_request",<br />
"error_description" : "Invalid redirect uri <a href="http://substantiator-survey.ngrok.io/index.php/Configure/report_generator_amazing" rel="nofollow ugc">http://substantiator-survey.ngrok.io/index.php/Configure/report_generator_amazing</a>",<br />
"error_reason" : "invalid_redirect_uri"<br />
}</p>
<p dir="auto">The error should say missing  "X-FusionAuth-TenantId"</p>
]]></description><link>https://fusionauth.io/community/forum/post/3279</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/3279</guid><dc:creator><![CDATA[richb201]]></dc:creator><pubDate>Sun, 27 Jun 2021 09:57:01 GMT</pubDate></item><item><title><![CDATA[Reply to invalid_redirect_uri on Wed, 23 Jun 2021 02:00:50 GMT]]></title><description><![CDATA[<p dir="auto">I have changed everything to point localhost. I have checked over the ID's and they seem OK. Here is the error I keep getting:<br />
{<br />
"error" : "invalid_request",<br />
"error_description" : "Invalid redirect uri <a href="http://substantiator-survey.ngrok.io/index.php/Configure/report_generator_amazing" rel="nofollow ugc">http://substantiator-survey.ngrok.io/index.php/Configure/report_generator_amazing</a>",<br />
"error_reason" : "invalid_redirect_uri"<br />
}</p>
<p dir="auto">Here is the code. It sends the email just fine. When the receiver gets it and clicks on the link they get the above error.  BTW, I have passwordless working fine in another application with another tenant.</p>
<p dir="auto">At this point I want to switch over to having a user register with a password and be able to login. Can you point me to the proper Guide? I am looking for your basic registration and login. Nothing fancy. I am thinkin that I need to use multi tenant since I have a passwordless app running too. Right?</p>
]]></description><link>https://fusionauth.io/community/forum/post/3262</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/3262</guid><dc:creator><![CDATA[richb201]]></dc:creator><pubDate>Wed, 23 Jun 2021 02:00:50 GMT</pubDate></item><item><title><![CDATA[Reply to invalid_redirect_uri on Mon, 21 Jun 2021 21:12:56 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/279">@richb201</a>,</p>
<p dir="auto">Based on the error description,</p>
<p dir="auto"><a href="http://substantiator-survey.ngrok.io/index.php/Configure/report_generator_amazing" rel="nofollow ugc">http://substantiator-survey.ngrok.io/index.php/Configure/report_generator_amazing</a></p>
<p dir="auto">Needs to be configured in the OAuth server (I think this is what you said you were using previously) as your redirect URI (or the link needs to be modified to your redirect URI).   Can you confirm that is the case? You can confirm by navigating to <code>Applications &gt; OAuth &gt; Redirect URI </code></p>
<p dir="auto">If you have not changed your OAuth configuration since the last screenshot, it would seem that your redirect is set to</p>
<p dir="auto"><a href="http://35.153.26.164/" rel="nofollow ugc">http://35.153.26.164/</a> ....</p>
<p dir="auto">and not<br />
<a href="http://substantiator-survey.ngrok.io/index.php/Configure/report_generator_amazing/" rel="nofollow ugc">http://substantiator-survey.ngrok.io/index.php/Configure/report_generator_amazing/</a></p>
<blockquote>
<p dir="auto">There is one detail I should mention here. The database is on mysql RDS which means that it is located on an AWS server. The user is interacting with the fusionAuth on my laptop. But when the user is being sent to the AWS server (35.153.28,164) to complete the interaction (<a href="http://35.153.28.164:9011/oauth2/passwordless" rel="nofollow ugc">http://35.153.28.164:9011/oauth2/passwordless</a>) they are interacting with a copy of fusion auth running on the server. I would think (aka assuming) that this is ok since they are using the same dbase, but this is a question for your engineers.</p>
</blockquote>
<p dir="auto">I am not entirely clear on the question, but if you, for instance, start an OAuth session (login workflow for instance) on a <code>laptop A browser</code> you will want to complete the OAuth authorization flow on that same <code>laptop A browser</code>.   This may be part of your difficulty, but I would confirm the redirect first.  We can do some additional troubleshooting if need be.</p>
<p dir="auto">Thanks,<br />
Josh</p>
]]></description><link>https://fusionauth.io/community/forum/post/3253</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/3253</guid><dc:creator><![CDATA[joshua]]></dc:creator><pubDate>Mon, 21 Jun 2021 21:12:56 GMT</pubDate></item><item><title><![CDATA[Reply to invalid_redirect_uri on Tue, 15 Jun 2021 15:16:32 GMT]]></title><description><![CDATA[<p dir="auto">My user is getting the email that they can log in. Here is the raw email that the user is getting:</p>
<pre><code>Received: from 10.253.233.84
 by atlas107.free.mail.gq1.yahoo.com with HTTPS; Tue, 15 Jun 2021 13:39:59 +0000
Return-Path: &lt;0100017a0fe672e1-2da23800-1edd-4c6e-9141-d233317fb630-000000@amazonses.com&gt;
X-Originating-Ip: [54.240.48.39]
Received-SPF: pass (domain of amazonses.com designates 54.240.48.39 as permitted sender)
Authentication-Results: atlas107.free.mail.gq1.yahoo.com;
 dkim=pass header.i=@amazonses.com header.s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug;
 spf=pass smtp.mailfrom=amazonses.com;
 dmarc=unknown header.from=substantiator.com;
X-Apparently-To: richardbernstein219@yahoo.com; Tue, 15 Jun 2021 13:40:00 +0000
X-YMailISG: epGYStgWLDsWCq8pwIiTpGmtjoQrowrDPq9_3kwcKGZjFa2K
 an3s2H5MXNzeyAi4rGZAwWZcxtQooNv4lQDVsQyf_7S_tb_8j7zo4fy9usni
 yt.gFIFUAZQX04r9L7krXtPy.S6SY89ecopiN.8Z7eQn32Js3MC49OVEWBjD
 VNZFHEF6YRi2Pp8d3mZ3s7WyfkZqSGtb0AHovLlrvVU8wYEc45a_AkQYb2FP
 iXsH_ayxD4meychffezPfraH7o6acCPhlQQ8uzJ2Lq5i9RXfKyHPRXR9vK_2
 zHJfJKLMqJW.q2ruRbtTIRdbg4dcM.xpVmfA6OVeCwAYOCsqxwl_tzyHcDN.
 aCbmMZVkji4efE8ie2Tl_qcKkdXgEjf6DgwWwrZ1rcozSywcvjpQJ2MH9tY6
 b36wUZoCKi70cNYKf0VyYV3HgGrbhraj5VVIWz2pL8YsBYmA6F2RQkT.tMVh
 svLRVLpa7WQUffbFSx56XHEHZ0aZPBjj7IlwZD0VCI0gHXLriSVYd8UCWlGF
 Xa0NxEh6Gfn6ZsCXXCyV8CJGIr07PhzxkSkKNOBxdiHCRr4gGRkfFAcX09E9
 6fH49yQycp0IBLG4bqMEXODX_jV3MtuzwlYFXN2AlO9GPf.BEbRDWsr7pekr
 x6Kb4NOeUzYxYZqXLt6e3OwdNLqm_vL0ouJcE1H4QzlChJCKh.oNWwlPG3Jp
 Df7Sehmw4kr0_GqMD3jltOgSOaWPbyq5loM4_GQ2WBSDcwRdATILDYftFTHd
 _sJST.PQ8MNWhjkhNolqcIoZLCQFmaywlupScahbaX9_u.KKePOTRa7N9GIu
 alOw3zSzgSjMV7M_IheYH1pfYHpenhr5Ix5W8sgh7N7y7vmTFJHa6Idpb74N
 LnN4Lq82dqqblfRxAuj02_9zCdO5bEUEWgWzIyIH39SH6x90WXYNmlq7fDC3
 CcPVCvGE4C1SlEEKTw.Rwan28xhjt5XDGx5nFnH7sv5CSJBM7Am5FcSchaBs
 iBRa1elODLiFqzz2bzfyNWkUE8qMg0jFAOAqeYBQfwH_RqJhF1KYxE8ByWIO
 ZK2UAq7HzC.vUoMTu9WrCMRAhRYNXojDz49jSnYE0JJqCPNLAQlSS5CiRkYq
 NuxfzAkTqp8SulZHnQsc0t8LAON79HLeBFgZ2PRhaC3hhvDZP.aPcA.s
Received: from 54.240.48.39 (EHLO a48-39.smtp-out.amazonses.com)
 by 10.253.233.84 with SMTPs
 (version=TLS1_2 cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256);
 Tue, 15 Jun 2021 13:39:59 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple;
	s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug; d=amazonses.com; t=1623764398;
	h=From:To:Message-ID:Subject:MIME-Version:Content-Type:Date:Feedback-ID;
	bh=T038Z0UwMACvG/0gtmtv6+gtfNJaQNFP1pWDpWOlJc8=;
	b=cfbsFJ50qkHtfbJ0PhX6ZVmobnhNebMyR8ddQ70Is9zzAY5KgHFPwUUpBAE8jYgy
	kCkcuDevKqiyXjAOG5O3DKf/Gw1saWX8vaWMLGB53Zm/ai6BuWAixYWvZ/0qeZh/eqd
	PTIqXg1Wm34VRiL/vtcxqR7ImQy8NHPWD9B8lovk=
From: admin &lt;admin@substantiator.com&gt;
To: richardbernstein219@yahoo.com
Message-ID: &lt;0100017a0fe672e1-2da23800-1edd-4c6e-9141-d233317fb630-000000@email.amazonses.com&gt;
Subject: Login
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_18_571959732.1623764397561"
Date: Tue, 15 Jun 2021 13:39:58 +0000
Feedback-ID: 1.us-east-1./ToaGAJxWOVHrr4y6A5cU9krmMVcIKDbUUm+IkkffcM=:AmazonSES
X-SES-Outgoing: 2021.06.15-54.240.48.39
Content-Length: 1908

------=_Part_18_571959732.1623764397561
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

&lt;body&gt;
  &lt;img src="35.153.28.164/assets/themes/default/images/Logo - Research Study Online-01.jpg?w=640" alt="img" /&gt;
 
     
  &lt;div&gt;
&lt;a href="http://fusionauth.ngrok.io/oauth2/passwordless/gXw-s8GL7gQpSkWTrdjnsFKExLfAuwIt3dErPkR2IEQ?tenantId=4272f95b-0989-4892-badc-0ef6b934885f&amp;client_id=f603697d-41ea-4c53-ac2d-e935d5e34221&amp;redirect_uri=http%3A%2F%2Fsubstantiator-survey.ngrok.io%2Findex.php%2FConfigure%2Freport_generator_amazing&amp;response_type=code&amp;scope=openid&amp;state=richardbernstein219%40yahoo.com" target="_blank"&gt;
&lt;button style="border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
background-color: #008CBA;"&gt;
Click Here For Survey!
&lt;/button&gt;
&lt;/a&gt;
&lt;/div&gt;

&lt;/body&gt;
------=_Part_18_571959732.1623764397561
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

&lt;meta charset="UTF-8"&gt;
&lt;!doctype html&gt;

&lt;body&gt;
  &lt;img src="http://35.153.28.164/assets/themes/default/images/Logo%20-%20Research%20Study%20Online-01.jpg?w=640" alt="img" /&gt;
  &lt;p&gt;To log into ResearchStudyOnline please click the link.&lt;/p&gt;

    
  &lt;div&gt;
&lt;a href="http://35.153.28.164:9011/oauth2/passwordless/gXw-s8GL7gQpSkWTrdjnsFKExLfAuwIt3dErPkR2IEQ?tenantId=4272f95b-0989-4892-badc-0ef6b934885f&amp;client_id=f603697d-41ea-4c53-ac2d-e935d5e34221&amp;redirect_uri=http%3A%2F%2Fsubstantiator-survey.ngrok.io%2Findex.php%2FConfigure%2Freport_generator_amazing&amp;response_type=code&amp;scope=openid&amp;state=richardbernstein219%40yahoo.com" target="_blank"&gt;
&lt;button style="border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
background-color: #008CBA;"&gt;
Click Here to Login!
&lt;/button&gt;
&lt;/a&gt;
&lt;/div&gt;

&lt;/body&gt;
------=_Part_18_571959732.1623764397561--
</code></pre>
<p dir="auto">When they click on the link in the email they get this error from fusionAuth</p>
<pre><code>{
  "error" : "invalid_request",
  "error_description" : "Invalid redirect uri http://substantiator-survey.ngrok.io/index.php/Configure/report_generator_amazing",
  "error_reason" : "invalid_redirect_uri"
}
</code></pre>
<p dir="auto">Is there any better description of the error reporting?<br />
There is one detail I should mention here. The database is on mysql RDS which means that it is located on an AWS server. The user is interacting with the fusionAuth on my laptop. But when the user is being sent to the AWS server (35.153.28,164) to complete the interaction (<a href="http://35.153.28.164:9011/oauth2/passwordless" rel="nofollow ugc">http://35.153.28.164:9011/oauth2/passwordless</a>) they are interacting with a copy of fusion auth running on the server. I  would think (aka assuming) that this is ok since they are using the same dbase, but this is a question for your engineers.</p>
<p dir="auto">The error is showing <a href="http://substantiator-survey.ngrok.io" rel="nofollow ugc">http://substantiator-survey.ngrok.io</a> which is the laptop is there any rule that the redirect URL and the FA app need to be on the same server?</p>
]]></description><link>https://fusionauth.io/community/forum/post/3219</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/3219</guid><dc:creator><![CDATA[richb201]]></dc:creator><pubDate>Tue, 15 Jun 2021 15:16:32 GMT</pubDate></item><item><title><![CDATA[Reply to invalid_redirect_uri on Mon, 14 Jun 2021 19:35:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/279">@richb201</a></p>
<p dir="auto"><a href="https://fusionauth.io/learn/expert-advice/oauth/modern-guide-to-oauth/#tokens" rel="nofollow ugc">https://fusionauth.io/learn/expert-advice/oauth/modern-guide-to-oauth/#tokens</a> covers the use of JWT's.</p>
<p dir="auto"><a href="https://fusionauth.io/docs/v1/tech/guides/passwordless/" rel="nofollow ugc">https://fusionauth.io/docs/v1/tech/guides/passwordless/</a><br />
covers how to set up Passwordless within FusionAuth.  It also covers how this workflow handles JWT's.</p>
<p dir="auto"><a href="https://fusionauth.io/docs/v1/tech/apis/passwordless/#complete-a-passwordless-login" rel="nofollow ugc">https://fusionauth.io/docs/v1/tech/apis/passwordless/#complete-a-passwordless-login</a><br />
The Passwordless API.</p>
<p dir="auto">I hope that helps!</p>
<p dir="auto">Josh</p>
]]></description><link>https://fusionauth.io/community/forum/post/3214</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/3214</guid><dc:creator><![CDATA[joshua]]></dc:creator><pubDate>Mon, 14 Jun 2021 19:35:02 GMT</pubDate></item><item><title><![CDATA[Reply to invalid_redirect_uri on Mon, 07 Jun 2021 19:41:43 GMT]]></title><description><![CDATA[<p dir="auto">OK I found:<br />
retrieveUserInfoFromAccessToken($encodedJWT)</p>
<p dir="auto">What is the JWT?</p>
<p dir="auto">This is how I am getting back to a method in my application:</p>
<p dir="auto"><a href="http://35.153.28.164/index.php/Configure/passwordless_entry" rel="nofollow ugc">http://35.153.28.164/index.php/Configure/passwordless_entry</a></p>
<p dir="auto">Will the JWT come in a $_GET or a $_POST in that method, passwordless_entry?</p>
]]></description><link>https://fusionauth.io/community/forum/post/3164</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/3164</guid><dc:creator><![CDATA[richb201]]></dc:creator><pubDate>Mon, 07 Jun 2021 19:41:43 GMT</pubDate></item><item><title><![CDATA[Reply to invalid_redirect_uri on Fri, 04 Jun 2021 23:59:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/279">@richb201</a>,</p>
<p dir="auto">If you are using the OAuth protocol, you should have access to this information.</p>
<p dir="auto">I would try accessing the <code>userinfo</code> endpoint.  The only requirement to get this information is the access token obtained through the OAuth process.</p>
<p dir="auto"><a href="https://fusionauth.io/docs/v1/tech/oauth/endpoints#userinfo" rel="nofollow ugc">https://fusionauth.io/docs/v1/tech/oauth/endpoints#userinfo</a></p>
<p dir="auto">I hope this helps!</p>
<p dir="auto">Thanks,<br />
Josh</p>
]]></description><link>https://fusionauth.io/community/forum/post/3159</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/3159</guid><dc:creator><![CDATA[joshua]]></dc:creator><pubDate>Fri, 04 Jun 2021 23:59:29 GMT</pubDate></item><item><title><![CDATA[Reply to invalid_redirect_uri on Mon, 31 May 2021 20:34:27 GMT]]></title><description><![CDATA[<p dir="auto">Hi. I actually want to pass in this user's email address to I can use it when I query my database to find the rest of his data. Can I do this without having to pass the email address manually?</p>
]]></description><link>https://fusionauth.io/community/forum/post/3124</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/3124</guid><dc:creator><![CDATA[richb201]]></dc:creator><pubDate>Mon, 31 May 2021 20:34:27 GMT</pubDate></item><item><title><![CDATA[Reply to invalid_redirect_uri on Wed, 26 May 2021 17:21:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/279">@richb201</a>,</p>
<p dir="auto">Can you provide a bit more context on why you want to do this on a URI?  I am not sure what you want to store in "state".</p>
<p dir="auto">The "state" variable, as I understand it, is available only on the forgot password FTL templates (<a href="https://fusionauth.io/docs/v1/tech/apis/users/#request-14" rel="nofollow ugc">doc</a>, using the API, but the description is still applicable to your OAuth setup here)</p>
<p dir="auto">My first thought was, perhaps you want to store "state" on a custom user data point and just query the user object when needed?  But might need some more information to assist further.</p>
<p dir="auto">Thanks,<br />
Josh</p>
]]></description><link>https://fusionauth.io/community/forum/post/3112</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/3112</guid><dc:creator><![CDATA[joshua]]></dc:creator><pubDate>Wed, 26 May 2021 17:21:03 GMT</pubDate></item><item><title><![CDATA[Reply to invalid_redirect_uri on Wed, 19 May 2021 20:14:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/279">@richb201</a> I think I got it. There was a line in my code that was missing the http://. Thanks.</p>
<p dir="auto">Now that I got that working, I do want to pass in the user's email address to the redirect uri. Is there an easy way to do that?<br />
I have set $request["state"]["state"] = "$email" prior to doing the fusion doing the auth, so how do I get "state" inside my application?</p>
]]></description><link>https://fusionauth.io/community/forum/post/3058</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/3058</guid><dc:creator><![CDATA[richb201]]></dc:creator><pubDate>Wed, 19 May 2021 20:14:26 GMT</pubDate></item><item><title><![CDATA[Reply to invalid_redirect_uri on Wed, 19 May 2021 15:54:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/3">@robotdan</a> Yes, I know that needs to have http:// but I think I have it already!. Where do I specify that. Here is the application setup and you can see it there.<br />
<img src="/community/forum/assets/uploads/files/1621439415498-screenshot-from-2021-05-19-10-26-11.png" alt="Screenshot from 2021-05-19 10-26-11.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">and here is the email template:</p>
<pre><code>&lt;meta charset="UTF-8"&gt;
&lt;!doctype html&gt;

&lt;body&gt;
  &lt;img src="http://35.153.28.164/assets/themes/default/images/Logo%20-%20Research%20Study%20Online-01.jpg?w=640" alt="img" /&gt;
  &lt;p&gt;To log into ResearchStudyOnline please click the link.&lt;/p&gt;

  [#setting url_escaping_charset="UTF-8"]

  
  [#-- The optional 'state' map provided on the Start Passwordless API call is exposed in the template as 'state' --]
  [#assign url = "http://35.153.28.164:9011/oauth2/passwordless/${code}?tenantId=${user.tenantId}" /]
  [#list state!{} as key, value][#if key != "tenantId" &amp;&amp; value??][#assign url = url + "&amp;" + key?url + "=" + value?url/][/#if][/#list]
  
  &lt;div&gt;
&lt;a href="${url}" target="_blank"&gt;
&lt;button style="border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
background-color: #008CBA;"&gt;
Click Here to Login!
&lt;/button&gt;
&lt;/a&gt;
&lt;/div&gt;

&lt;/body&gt;
</code></pre>
<p dir="auto">It also has the http://</p>
]]></description><link>https://fusionauth.io/community/forum/post/3048</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/3048</guid><dc:creator><![CDATA[richb201]]></dc:creator><pubDate>Wed, 19 May 2021 15:54:26 GMT</pubDate></item><item><title><![CDATA[Reply to invalid_redirect_uri on Wed, 19 May 2021 15:46:29 GMT]]></title><description><![CDATA[<p dir="auto">Here is the <code>redirect_uri</code> in the email:</p>
<p dir="auto"><code>&amp;redirect_uri=35.153.28.164%2Findex.php%2FConfigure%2Freport_generator_amazing</code></p>
<p dir="auto">This needs to be be <code>&amp;redirect_uri=http://35...</code></p>
]]></description><link>https://fusionauth.io/community/forum/post/3047</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/3047</guid><dc:creator><![CDATA[robotdan]]></dc:creator><pubDate>Wed, 19 May 2021 15:46:29 GMT</pubDate></item><item><title><![CDATA[Reply to invalid_redirect_uri on Wed, 19 May 2021 15:45:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/3">@robotdan</a> Thanks. I have the raw email message, I just don't know how to see what is wrong with it.</p>
<pre><code>
Received: from 10.196.216.85
 by atlas319.free.mail.bf1.yahoo.com with HTTPS; Fri, 14 May 2021 11:19:49 +0000
Return-Path: &lt;010001796a9a9e93-d880d840-8578-4fbf-9cfa-e2fe054e3986-000000@amazonses.com&gt;
X-Originating-Ip: [54.240.8.241]
Received-SPF: pass (domain of amazonses.com designates 54.240.8.241 as permitted sender)
Authentication-Results: atlas319.free.mail.bf1.yahoo.com;
 dkim=pass header.i=@amazonses.com header.s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug;
 spf=pass smtp.mailfrom=amazonses.com;
 dmarc=unknown header.from=substantiator.com;
X-Apparently-To: richardbernstein216@yahoo.com; Fri, 14 May 2021 11:19:49 +0000
X-YMailISG: RuEN7foWLDu9BhoVg1_uj0ZIWl3MAsheSKU0V8Ov.9FsKaEX
 xrAAWNrr8D1StRJTu4elf71kfaBhc1I7eqUJQeUplY6XYN2XU_.96BEgIcp7
 RpVKGE3QaznUrFboVsXtT8Esf6tChUHtXHOvSDcq1ySeDEUvWaBJX6BZDzmB
 7QFLHvkF6k2Fa21vy3yb3y_hdPGc.RpjQM2Xu6PzcS9s0fl8BXFwt7vQyDkC
 aNAnTmgPibrFvftqKxhMA018R_fa3OD_1Cx2ymowL_lPOvOwYlxzlYiHp6gB
 B.AMbM6eMtNX4_NfaS0MzcHIgbCZ342fWVIkx8QH5kFm8pkPp7.7OGhC4xQl
 lrIA8fxMJ5bALaPN2pfzkjn0a_TmU5cveMbVDIM7PdNPyTTYpgN8h6OCVoBm
 lCW66qZpuHBB8BndOg2cPsr1S_JEJjYtOp4.QW7Hi5.ngcr_w0SpnMuY4ob6
 cuJEDKW_eHrN30geb0bgmveRT84g8.gZ1y8wuNjnYrBZDGJWhrzAq2aYLwvT
 DGhByPAxUDIN.eE.fL5T7kbHZEPn3zeIUV9vCvpdsYPSXMChhHG73A1FfoJW
 9KjMNrTt.7SuyIG85b_PcMMn6cDtyEtNxliEeXWwIw4UWpXBlqZk_7J9FKkM
 da_IJmf8Nk5.RhZgV6s_z.2ldeHlmN_RfWdF3eQU8sd5n.29OrUowXSLQ2VA
 JEZP3ztIIFPWxBJ9onafe3F1PBoefTPAmufC2hYXpwFBTkINJdmRId2672Oq
 U21ZQgq2341SN0Kb5Dv1lAQ5Db9Cd3VHx8_QGZ.AOl15P9orL5bKzsn33H4i
 McPP1HsY_japIFdCy5EukFBStpirGhneoY5vW6PfEBTEd2USnLpSuWd8KHzu
 tv9cI6vVVJISkmW0FSD5pY5TKdYLrU1vFmR9SLZ7CbhlEIV3_LMnNAl_7Z6y
 mgYdNrD0qGojogB8zAtL8r78Wz8kgiDV4_UB5UNJ5rJypqmBfCkG..iOF8NT
 YvTPgjG_oPTHc0_TakpvQ0v9Tm3p3G20Gy9xhDuawxOq445JgJCE6mx_AfN8
 SlVtKizLp1GwcmzwVkZO8X_E1DZqRXegeJ86KoO.mIAkFb7pkStYgAbY1zny
 _uDaWSqRUzLsPZz4bTJM5wyqWYrl4DwmZ73C6wnw6AFA9kiJE4x1PvFKlA--
Received: from 54.240.8.241 (EHLO a8-241.smtp-out.amazonses.com)
 by 10.196.216.85 with SMTPs
 (version=TLS1_2 cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256);
 Fri, 14 May 2021 11:19:49 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple;
	s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug; d=amazonses.com; t=1620991188;
	h=From:To:Message-ID:Subject:MIME-Version:Content-Type:Date:Feedback-ID;
	bh=HSdZTCdopKudE7gQLvMd7mhFaDyjWsxy1D6lCGlaXGg=;
	b=hJFNKihjTNSqR9HTquZmBuIEobuvLlQP02ypaee/aHylzTlFsJq55u+2vK+u/OGE
	/tyfh3hqWOyCy0CpwkEQsjX8Xv9I/YHz+sB1mqIxDhwse7LPzqZ+Kd9VmVkKqAJaSil
	xiI/dTVkV/Dhayive7Dc4YdTtyRdgc3+eu3JX1NU=
From: admin &lt;admin@substantiator.com&gt;
To: richardbernstein216@yahoo.com
Message-ID: &lt;010001796a9a9e93-d880d840-8578-4fbf-9cfa-e2fe054e3986-000000@email.amazonses.com&gt;
Subject: Login
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_10_107303501.1620991187686"
Date: Fri, 14 May 2021 11:19:48 +0000
Feedback-ID: 1.us-east-1./ToaGAJxWOVHrr4y6A5cU9krmMVcIKDbUUm+IkkffcM=:AmazonSES
X-SES-Outgoing: 2021.05.14-54.240.8.241
Content-Length: 1850

------=_Part_10_107303501.1620991187686
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

&lt;body&gt;
  &lt;img src="35.153.28.164/assets/themes/default/images/Logo - Research Study Online-01.jpg?w=640" alt="img" /&gt;
 
     
  &lt;div&gt;
&lt;a href="http://fusionauth.ngrok.io/oauth2/passwordless/YZKTNV6VE0VGJ9e_mKuWLjtokNtS44FcAvEM5kTG9Jk?tenantId=4272f95b-0989-4892-badc-0ef6b934885f&amp;client_id=f603697d-41ea-4c53-ac2d-e935d5e34221&amp;redirect_uri=35.153.28.164%2Findex.php%2FConfigure%2Freport_generator_amazing&amp;response_type=code&amp;scope=openid&amp;state=richardbernstein216%40yahoo.com" target="_blank"&gt;
&lt;button style="border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
background-color: #008CBA;"&gt;
Click Here For Survey!
&lt;/button&gt;
&lt;/a&gt;
&lt;/div&gt;

&lt;/body&gt;
------=_Part_10_107303501.1620991187686
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

&lt;meta charset="UTF-8"&gt;
&lt;!doctype html&gt;

&lt;body&gt;
  &lt;img src="http://35.153.28.164/assets/themes/default/images/Logo%20-%20Research%20Study%20Online-01.jpg?w=640" alt="img" /&gt;
  &lt;p&gt;To log into ResearchStudyOnline please click the link.&lt;/p&gt;

    
  &lt;div&gt;
&lt;a href="http://35.153.28.164:9011/oauth2/passwordless/YZKTNV6VE0VGJ9e_mKuWLjtokNtS44FcAvEM5kTG9Jk?tenantId=4272f95b-0989-4892-badc-0ef6b934885f&amp;client_id=f603697d-41ea-4c53-ac2d-e935d5e34221&amp;redirect_uri=35.153.28.164%2Findex.php%2FConfigure%2Freport_generator_amazing&amp;response_type=code&amp;scope=openid&amp;state=richardbernstein216%40yahoo.com" target="_blank"&gt;
&lt;button style="border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
background-color: #008CBA;"&gt;
Click Here to Login!
&lt;/button&gt;
&lt;/a&gt;
&lt;/div&gt;

&lt;/body&gt;
------=_Part_10_107303501.1620991187686--
</code></pre>
<p dir="auto">This one is using ngrok, just so I can test on my laptop.</p>
]]></description><link>https://fusionauth.io/community/forum/post/3046</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/3046</guid><dc:creator><![CDATA[richb201]]></dc:creator><pubDate>Wed, 19 May 2021 15:45:20 GMT</pubDate></item><item><title><![CDATA[Reply to invalid_redirect_uri on Wed, 19 May 2021 15:14:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/279">@richb201</a> said in <a href="/community/forum/post/3037">invalid_redirect_uri</a>:</p>
<blockquote>
<p dir="auto">I am going to try your standard passwordless email instead of my customized one.</p>
</blockquote>
<p dir="auto">This is a good idea. This should give you a base case to test with to ensure it is working correctly before customizing it too much.</p>
<p dir="auto">You may also want to capture the raw email message to see if the URL is correct in the MIME encoded version of the email.</p>
]]></description><link>https://fusionauth.io/community/forum/post/3045</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/3045</guid><dc:creator><![CDATA[robotdan]]></dc:creator><pubDate>Wed, 19 May 2021 15:14:57 GMT</pubDate></item><item><title><![CDATA[Reply to invalid_redirect_uri on Wed, 19 May 2021 14:31:44 GMT]]></title><description><![CDATA[<p dir="auto">Here is mine. They look similar right?<br />
<img src="/community/forum/assets/uploads/files/1621434432027-screenshot-from-2021-05-19-10-26-11.png" alt="Screenshot from 2021-05-19 10-26-11.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I am going to try your standard passwordless email instead of my customized one.</p>
<p dir="auto">Here is my login tenant.  Notice the issuer? Is that a problem?  Do I need to have my own inform in there?<br />
<img src="/community/forum/assets/uploads/files/1621434703462-screenshot-from-2021-05-19-10-30-26.png" alt="Screenshot from 2021-05-19 10-30-26.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://fusionauth.io/community/forum/post/3037</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/3037</guid><dc:creator><![CDATA[richb201]]></dc:creator><pubDate>Wed, 19 May 2021 14:31:44 GMT</pubDate></item><item><title><![CDATA[Reply to invalid_redirect_uri on Tue, 18 May 2021 20:16:41 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/279">@richb201</a></p>
<p dir="auto">The redirect URL, for OAuth, should only need to be set/registered on this screen for your Application.</p>
<p dir="auto"><img src="/community/forum/assets/uploads/files/1621368897763-oauth-redirect-orginal-resized.png" alt="oauth-redirect-orginal.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I hope this helps!</p>
<p dir="auto">Thanks,<br />
Josh</p>
]]></description><link>https://fusionauth.io/community/forum/post/3035</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/3035</guid><dc:creator><![CDATA[joshua]]></dc:creator><pubDate>Tue, 18 May 2021 20:16:41 GMT</pubDate></item><item><title><![CDATA[Reply to invalid_redirect_uri on Fri, 14 May 2021 06:58:04 GMT]]></title><description><![CDATA[<p dir="auto">Thanks. From a post by robotdan to another user:</p>
<p dir="auto">Hi @forenheith can you confirm you have configured your redirect URI in FusionAuth?</p>
<p dir="auto"><a href="https://fusionauth.io/docs/v1/tech/oauth/overview" rel="nofollow ugc">https://fusionauth.io/docs/v1/tech/oauth/overview</a></p>
<p dir="auto">The Redirect URI will be the URL of your application that will handle the response from the Authorization request. If the value you send in the redirect_uri parameter is not registered with FusionAuth you will receive the invalid_redirect_uri error as you're seeing.</p>
<p dir="auto">what does this mean?<br />
"If the value you send in the redirect_uri parameter is <strong>not registered</strong> with FusionAuth you will receive the invalid_redirect_uri error as you're seeing."</p>
<p dir="auto">Where would I register my Redirect URI? I already have it registered in<br />
Redirect URI as can be seen here. But I get the feeling that he is talking about registering it somewhere else?<br />
![Screenshot from 2021-05-14 02-34-57.png](/community/forum/assets/uploads/files/1620974176507-screenshot-from-2021-05-14-02-34-57.png<br />
<img src="/community/forum/assets/uploads/files/1620974322359-screenshot-from-2021-05-14-02-34-57.png" alt="Screenshot from 2021-05-14 02-34-57.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I did find this:<br />
redirect_uri [String] REQUIRED<br />
The URI to redirect to upon a successful request. This URI <strong>must have been configured previously in the FusionAuth Application OAuth configuration.</strong> See Applications in the FusionAuth User Guide for additional information on configuring the redirect URI.</p>
<p dir="auto">Where would that be done??</p>
<p dir="auto">I also found this in rfs6749<br />
If a redirection URI is provided   in the request, the authorization server MUST validate it against the  registered value.</p>
<p dir="auto">BUT where do I register this?</p>
]]></description><link>https://fusionauth.io/community/forum/post/3006</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/3006</guid><dc:creator><![CDATA[richb201]]></dc:creator><pubDate>Fri, 14 May 2021 06:58:04 GMT</pubDate></item><item><title><![CDATA[Reply to invalid_redirect_uri on Thu, 13 May 2021 23:06:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/279">@richb201</a>,</p>
<p dir="auto">Some of this you may have tried, but could be worth double-checking:</p>
<ol>
<li>Have you tried running your FreeMarker template through a linter to make sure there are no errors that might explain some of the behavior you are seeing?</li>
<li>Have you tried printing the full URL on your server (in a debug-like puts/print statement) to verify the presence or absence of an HTTP schema in the link and that the link is not broken?</li>
<li>Does the Freemarker template appear as you would like it to when you "preview" (there is a preview button there) the template in FusionAuth under the themes section?</li>
</ol>
<p dir="auto">At the moment, I don't have any other suggestions but will post back here once something else comes to mind.</p>
<p dir="auto">Thanks,<br />
Josh</p>
]]></description><link>https://fusionauth.io/community/forum/post/3004</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/3004</guid><dc:creator><![CDATA[joshua]]></dc:creator><pubDate>Thu, 13 May 2021 23:06:08 GMT</pubDate></item><item><title><![CDATA[Reply to invalid_redirect_uri on Wed, 12 May 2021 14:20:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/3">@robotdan</a> here is the email template. Looks to me to have the http://.</p>
<pre><code>&lt;meta charset="UTF-8"&gt;
&lt;!doctype html&gt;

&lt;body&gt;
  &lt;img src="http://35.153.28.164/assets/themes/default/images/Logo%20-%20Research%20Study%20Online-01.jpg?w=640" alt="img" /&gt;
  &lt;p&gt;To log into ResearchStudyOnline please click the link.&lt;/p&gt;

  [#setting url_escaping_charset="UTF-8"]

  
  [#-- The optional 'state' map provided on the Start Passwordless API call is exposed in the template as 'state' --]
  [#assign url = "http://35.153.28.164:9011/oauth2/passwordless/${code}?tenantId=${user.tenantId}" /]
  [#list state!{} as key, value][#if key != "tenantId" &amp;&amp; value??][#assign url = url + "&amp;" + key?url + "=" + value?url/][/#if][/#list]
  
  &lt;div&gt;
&lt;a href="${url}" target="_blank"&gt;
&lt;button style="border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
background-color: #008CBA;"&gt;
Click Here to Login!
&lt;/button&gt;
&lt;/a&gt;
&lt;/div&gt;

&lt;/body&gt;
</code></pre>
]]></description><link>https://fusionauth.io/community/forum/post/2990</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/2990</guid><dc:creator><![CDATA[richb201]]></dc:creator><pubDate>Wed, 12 May 2021 14:20:27 GMT</pubDate></item><item><title><![CDATA[Reply to invalid_redirect_uri on Mon, 10 May 2021 19:28:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/279">@richb201</a> said in <a href="/community/forum/post/2971">invalid_redirect_uri</a>:</p>
<blockquote>
<p dir="auto"><a href="http://35.153.28.164:9011/oauth2/passwordless/Hpwfsd2h-82faVz7oFYpX6xg0k43aIFM0d54-ueW7dc?tenantId=4272f95b-0989-4892-badc-0ef6b934885f&amp;client_id=f603697d-41ea-4c53-ac2d-e935d5e34221&amp;redirect_uri=35.153.28.164%2Findex.php%2FConfigure%2Freport_generator_amazing&amp;response_type=code&amp;scope=openid&amp;state=richardbernstein216%40yahoo.com" rel="nofollow ugc">http://35.153.28.164:9011/oauth2/passwordless/Hpwfsd2h-82faVz7oFYpX6xg0k43aIFM0d54-ueW7dc?tenantId=4272f95b-0989-4892-badc-0ef6b934885f&amp;client_id=f603697d-41ea-4c53-ac2d-e935d5e34221&amp;redirect_uri=35.153.28.164%2Findex.php%2FConfigure%2Freport_generator_amazing&amp;response_type=code&amp;scope=openid&amp;state=richardbernstein216%40yahoo.com</a></p>
</blockquote>
<p dir="auto">It looks missing to me, in your example HTML I see <code>&amp;redirect_uri=35.153.28.164...</code> instead of <code>&amp;redirect_uri=http://35.153.28.164...</code>.</p>
]]></description><link>https://fusionauth.io/community/forum/post/2981</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/2981</guid><dc:creator><![CDATA[robotdan]]></dc:creator><pubDate>Mon, 10 May 2021 19:28:17 GMT</pubDate></item><item><title><![CDATA[Reply to invalid_redirect_uri on Thu, 06 May 2021 14:25:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/3">@robotdan</a> said in <a href="/community/forum/post/2927">invalid_redirect_uri</a>:</p>
<blockquote>
<p dir="auto"><a href="http://35.153.28.164/index.php/Configure/report_generator_amazing" rel="nofollow ugc">http://35.153.28.164/index.php/Configure/report_generator_amazing</a></p>
</blockquote>
<p dir="auto">You are right! The http:// is missing in one place (for example)<br />
redirect_uri=35.153.28.164%2Findex.php%2FC</p>
<p dir="auto">But I included it in the URI redirect field in the Home/applications/edit uri field (see below) and it appears in other places in the screenshot. How can that be?</p>
<pre><code>&lt;a rel="nofollow noopener noreferrer" target="_blank" onclick="return window.theMainWindow.showLinkWarning(this)" href="http://35.153.28.164:9011/oauth2/passwordless/Hpwfsd2h-82faVz7oFYpX6xg0k43aIFM0d54-ueW7dc?tenantId=4272f95b-0989-4892-badc-0ef6b934885f&amp;amp;client_id=f603697d-41ea-4c53-ac2d-e935d5e34221&amp;amp;redirect_uri=35.153.28.164%2Findex.php%2FConfigure%2Freport_generator_amazing&amp;amp;response_type=code&amp;amp;scope=openid&amp;amp;state=richardbernstein216%40yahoo.com"&gt;
&lt;button style="border:none;color:white;padding:15px 32px;text-align:center;text-decoration:none;font-size:16px;margin:4px 2px;cursor:pointer;background-color:#008CBA;"&gt;
Click Here to Login!
&lt;/button&gt;
&lt;/a&gt;
</code></pre>
<p dir="auto">In looking at the text of the passwordless login email above I see that the http// is missing! But as I showed you in a screenshot below it is in the proper place. What is cutting it off? Has anyone else had this issue?<br />
<img src="/community/forum/assets/uploads/files/1620310742570-screenshot-from-2021-05-06-10-18-03.png" alt="Screenshot from 2021-05-06 10-18-03.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://fusionauth.io/community/forum/post/2971</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/2971</guid><dc:creator><![CDATA[richb201]]></dc:creator><pubDate>Thu, 06 May 2021 14:25:46 GMT</pubDate></item><item><title><![CDATA[Reply to invalid_redirect_uri on Thu, 06 May 2021 14:00:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/20">@dan</a> Thanks Dan. I really just need 2 mins of support. Can you tell me what log to look into to see the issue? I have http:// already in the URI.<br />
Here is what I see in the dockerlog for the fusionAuth container:</p>
<pre><code>2021-05-06 7:15:54.736 AM WARN  com.zaxxer.hikari.pool.PoolBase - HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@50b27d35 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2021-05-06 7:15:54.738 AM ERROR com.inversoft.scheduler.LogAndRetainFailureHandler - The scheduled service [class io.fusionauth.api.service.system.NodeManager] failed but will be re-run.
org.apache.ibatis.exceptions.PersistenceException: 
### Error querying database.  Cause: java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 2024ms.
### The error may exist in io/fusionauth/api/domain/FusionAuthNodeMapper.xml
### The error may involve io.fusionauth.api.domain.FusionAuthNodeMapper.retrieveAll
### The error occurred while executing a query
</code></pre>
<p dir="auto">and a little down the same log file:</p>
<pre><code>### Error querying database.  Cause: java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 2022ms.
### The error may exist in io/fusionauth/api/domain/KeyMapper.xml
### The error may involve io.fusionauth.api.domain.KeyMapper.retrieveAll
### The error occurred while executing a query
### Cause: java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 2022ms.
</code></pre>
<p dir="auto">these keep recurring down the page.  The only recommendation I see is "Possibly consider using a shorter maxLifetime value".<br />
Can you tell me where I set this? Is this a fa thing or a ubuntu thing?</p>
<p dir="auto">Or could this be that AWS won't accept a connection? Is this an issue for AWS tech support instead?</p>
]]></description><link>https://fusionauth.io/community/forum/post/2965</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/2965</guid><dc:creator><![CDATA[richb201]]></dc:creator><pubDate>Thu, 06 May 2021 14:00:40 GMT</pubDate></item></channel></rss>