<div dir="ltr"><div><div><div><div><div><div><div><div>It looks like a custom User Federation Provider in needs to be created in order to access a REST Service for user information and an Authentication Provider to authenticate against a REST Service.<br><br>I&#39;ve looked at the example User Federation Provider that uses a static file and the Authentication Provider examples which enforce secret question / answer flow. I have a better understanding of what needs to be accomplished, but I&#39;m still quite a ways from where I need to be.<br><br>Can anyone point me in the direction of an example User Federation Provider and / or an Authentication Provider that uses a REST Service?  (Google hasn&#39;t found any examples for me.)<br><br></div>Is there more documentation to be found on these subjects other than the inline code comments, User Manual, and github based docs?<br><br></div><div>Could I possibly be making it more difficult than it is, do I simply need to substitute http requests for file i/o in the User Federation Provider example?<br></div><div><br></div><br></div>The Flow (as I understand it, please confirm / correct as needed):<br></div><ol><li>User lands on Keycloak login page and initiates login</li><li>User does not exist in Keycloak</li><li>REST API is asked to authenticate via Authentication Provider SPI</li><li>User is authenticated </li><li>REST API is asked for user information to create user in Keycloak (part of this process would need to decrypt the existing password and then encrypt it using Keycloak&#39;s &quot;default&quot; method.)</li><li>
User is created in Keycloak and any further authentication / authorization logic will remain &quot;in house&quot;</li></ol><p>Thank you for your time,</p><p>jim<br></p></div></div></div></div></div>