<div dir="ltr">I still haven&#39;t gotten anywhere with this. Here&#39;s what I&#39;ve tried so far:<div><br></div><div>1) modifying First Broker Login flow as follows - </div><div>Review Profile - disabled</div><div>Create User If Unique - alternative</div><div>Handle Existing Account - alternative</div><div>everything under Handle Existing Account that can be disabled I have disabled</div><div><br></div><div>Result: I authenticate with the remote SAML server but my local Keycloak server displays an error screen saying &quot;Invalid username or password&quot;.</div><div><br></div><div><br></div><div>2) created a custom authentication flow containing the following - </div><div>Create User If Unique - alternative</div><div>A custom authenticator class with an authenticate method that just calls the success method of the AuthenticationFlowContext.</div><div><br></div><div><div>Result: I authenticate with the remote SAML server but my local Keycloak server displays an error screen saying &quot;Invalid username or password&quot;.</div></div><div><br></div><div><br></div><div>As always, any suggestions would be greatly appreciated.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 23, 2016 at 9:49 AM, Glenn Campbell <span dir="ltr">&lt;<a href="mailto:campbellg@teds.com" target="_blank">campbellg@teds.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have a SAML IdP that is used only for authentication and a separate database that contains information about the users, including roles. I&#39;ve set up the database in User Federation and the SAML IdP in Identity Providers. <div><br></div><div>The problem I have is that when users log in they are prompted to link to an existing account. This is confusing for them because from their perspective the only account they know about is the one on the SAML IdP.</div><div><br></div><div>Is it possible to configure this Identity Provider to be &quot;trusted&quot; so that the accounts are linked automatically? I started looking into creating a custom authenticator based on the documentation and the custom authenticator in the example code but I don&#39;t see what the necessary steps are to cause the automatic account linking.</div><div><br></div><div>Any suggestions would be greatly appreciated.</div></div>
</blockquote></div><br></div>