<?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[How to setup reverse proxy for an SSO session bootstrap]]></title><description><![CDATA[<p dir="auto">I'm glad it's finally possible to bootstrap an SSO session manually as described <a href="https://fusionauth.io/docs/lifecycle/authenticate-users/single-sign-on#bootstrapping-a-sso-session-after-login" rel="nofollow ugc">here</a>, nice!</p>
<p dir="auto">However, as part of the explanation on how to actually achieve it, there's a step that's not explained in detail, which is:</p>
<p dir="auto">"<em>FusionAuth requires the access token to be in an Authorization header. Because browsers do not provide a way to set the Authorization header when browsing to a location, <strong>you’ll need to add the header using, for example, a reverse proxy</strong>.</em>""</p>
<p dir="auto">I managed to make it work using nginx as the reverse proxy, <a href="https://gist.github.com/joseEkcit/079a26489093337ba2a65431e92919d4" rel="nofollow ugc">I've published a gist</a> to show how.<br />
Is this approach correct?</p>
<p dir="auto">The only thing that seems off is that after redirecting to oauth2/authorize, FusionAuth redirects to the redirect_uri provided, but includes an error about the response_type in the url (SSO session is correctly created though).</p>
]]></description><link>https://fusionauth.io/community/forum/topic/2903/how-to-setup-reverse-proxy-for-an-sso-session-bootstrap</link><generator>RSS for Node</generator><lastBuildDate>Sun, 07 Jun 2026 10:40:51 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/2903.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 31 Mar 2025 11:53:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to setup reverse proxy for an SSO session bootstrap on Mon, 07 Apr 2025 15:12:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/516">@joseantonio</a> When you add the response_type=code.  That should be literal 'response_type=code' not response_type={code} where {code} is some secret. Other than that, you can add additional parameters to the query string if needed. As long as you are not passing secrets in the query string you should be ok.</p>
]]></description><link>https://fusionauth.io/community/forum/post/7951</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7951</guid><dc:creator><![CDATA[mark.robustelli]]></dc:creator><pubDate>Mon, 07 Apr 2025 15:12:11 GMT</pubDate></item><item><title><![CDATA[Reply to How to setup reverse proxy for an SSO session bootstrap on Mon, 07 Apr 2025 06:46:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/2507">@mark-robustelli</a> Thanks! That prevents the error but adds the code to the url, which in my case is not needed, so I'm using response_mode=form_post to hide it. Is that ok?</p>
]]></description><link>https://fusionauth.io/community/forum/post/7946</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7946</guid><dc:creator><![CDATA[joseantonio]]></dc:creator><pubDate>Mon, 07 Apr 2025 06:46:11 GMT</pubDate></item><item><title><![CDATA[Reply to How to setup reverse proxy for an SSO session bootstrap on Sun, 06 Apr 2025 19:23:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/516">@joseantonio</a> using the response_type=code should be fine, let me know how it goes.</p>
]]></description><link>https://fusionauth.io/community/forum/post/7945</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7945</guid><dc:creator><![CDATA[mark.robustelli]]></dc:creator><pubDate>Sun, 06 Apr 2025 19:23:28 GMT</pubDate></item><item><title><![CDATA[Reply to How to setup reverse proxy for an SSO session bootstrap on Tue, 01 Apr 2025 16:00:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/2507">@mark-robustelli</a></p>
<p dir="auto">This is the error shown in the url after oauth2/authorize redirects to redirect_uri:</p>
<pre><code>?error=invalid_request&amp;error_reason=missing_response_type&amp;error_description=The+request+is+missing+a+required+parameter%3A+response_type
</code></pre>
<p dir="auto">At some point I used a combination of these two params in the oauth2/authorize endpoint to prevent it, is this safe to do or may it come with possible drawbacks?</p>
<ul>
<li>response_type=code</li>
<li>response_mode=form_post</li>
</ul>
<p dir="auto">Thanks!</p>
]]></description><link>https://fusionauth.io/community/forum/post/7931</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7931</guid><dc:creator><![CDATA[joseantonio]]></dc:creator><pubDate>Tue, 01 Apr 2025 16:00:27 GMT</pubDate></item><item><title><![CDATA[Reply to How to setup reverse proxy for an SSO session bootstrap on Mon, 31 Mar 2025 20:26:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/516">@joseantonio</a> said in <a href="/community/forum/post/7927">How to setup reverse proxy for an SSO session bootstrap</a>:</p>
<blockquote>
<p dir="auto">here</p>
</blockquote>
<p dir="auto">Thank you for sharing. What is the error that you are getting about the response_type?</p>
]]></description><link>https://fusionauth.io/community/forum/post/7930</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7930</guid><dc:creator><![CDATA[mark.robustelli]]></dc:creator><pubDate>Mon, 31 Mar 2025 20:26:27 GMT</pubDate></item></channel></rss>