<?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[Customizing Error Messages for FusionAuth Hosted Login Pages with Generic Connectors]]></title><description><![CDATA[<p dir="auto">We’re using <strong>FusionAuth’s hosted login pages</strong> and considering the use of a <strong>generic connector</strong> to authenticate users against an external data source.</p>
<p dir="auto">We’d like to know:</p>
<ul>
<li>Is it possible to <strong>control what the hosted templates display</strong> based on different <strong>error scenarios</strong> returned by the connector?</li>
<li>Can we display different templates or pass custom error information from the connector to the hosted login page?</li>
</ul>
]]></description><link>https://fusionauth.io/community/forum/topic/2980/customizing-error-messages-for-fusionauth-hosted-login-pages-with-generic-connectors</link><generator>RSS for Node</generator><lastBuildDate>Sun, 14 Jun 2026 19:09:01 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/2980.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 30 Jun 2025 03:18:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Customizing Error Messages for FusionAuth Hosted Login Pages with Generic Connectors on Mon, 30 Jun 2025 03:22:23 GMT]]></title><description><![CDATA[<p dir="auto">At this time, the <strong>generic connector</strong> in FusionAuth only supports a <strong>single error response type</strong>:</p>
<ul>
<li>The connector returns a <strong>404 Not Found</strong> in any failure scenario, whether:
<ul>
<li>The user does not exist in the external system, or</li>
<li>The user exists but provides <strong>invalid credentials</strong>.</li>
</ul>
</li>
</ul>
<p dir="auto">This design is intentional and exists to <strong>prevent user enumeration attacks</strong> by not revealing which part of the login process failed.</p>
<p dir="auto">Because of this <strong>security restriction</strong>:</p>
<ul>
<li>You <strong>cannot display different error messages</strong> on the hosted login page for different connector failure scenarios.</li>
<li>There’s no way to <strong>pass additional custom data</strong> or error context from the generic connector to the hosted templates for display purposes.</li>
</ul>
<p dir="auto">You can read more details here:<br />
<a href="https://fusionauth.io/docs/lifecycle/migrate-users/connectors/generic-connector#response" rel="nofollow ugc">Generic Connector - Response</a></p>
]]></description><link>https://fusionauth.io/community/forum/post/8165</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/8165</guid><dc:creator><![CDATA[wesley]]></dc:creator><pubDate>Mon, 30 Jun 2025 03:22:23 GMT</pubDate></item></channel></rss>