<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 22/02/16 03:55, Sylvain Auger-Léger
wrote:<br>
</div>
<blockquote
cite="mid:CADjy338r4Pxd6vkfUAMvti8f6ND4YNcDT1+9Zq47y69oX6L0FA@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>My company is aiming at building its own OpenId Connect
provider, for our internal apps.</div>
<div>Thus we are looking for an open source framework. KeyCloak
seems very good.</div>
<div><br>
</div>
<div>Unfortunatly, we have a problem, and I did not find if
KeyCloak can solve it:</div>
<div><br>
</div>
<div>Our 'users' are store in an AD directory or in a database
(postgree).</div>
<div>To sum up: if the user is not in the AD, then we should
look in the databse .</div>
</div>
</blockquote>
So you have 2 sets of existing users, first set in AD and second set
in Postgres?<br>
<br>
Yes, it is doable. You will need to write federationProvider for
CRUD users from/to your postgres database (See docs and examples for
details on how to create federationProvider). Then you can configure
2 federation providers in your realm, the first with bigger priority
will be LDAP/AD provider, the second will be your provider for
postgres. We already have support for LDAP/AD (Again see docs).<br>
<br>
Marek<br>
<blockquote
cite="mid:CADjy338r4Pxd6vkfUAMvti8f6ND4YNcDT1+9Zq47y69oX6L0FA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>Is this doable with Keylcloak??</div>
<div><br>
</div>
<div>Thanks.</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
keycloak-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-user">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
</blockquote>
<br>
</body>
</html>