[keycloak-user] custom providers

Patrycja Vrebos patrycja.vrebos at gmail.com
Sat Feb 11 15:28:20 EST 2017


Hi Keycloak users,

I am new to keycloak.
With my team we are using Red Hat Single Sign-On 7.0  with Keycloak 1.9.8.
I need to customize this a little bit. We support diffrent languages and
actually some message are not display  us we want.
For example message in Racaptcha is not in language as expected.
I found example how to register Google Recaptcha and how  to add validation
of form elements on the page:
*https://keycloak.gitbooks.io/server-developer-guide/content/topics/auth-spi.html
<https://keycloak.gitbooks.io/server-developer-guide/content/topics/auth-spi.html>*
So I suppose if I will register my own Recaptcha I will can specify message
I want to display.
As written I need to deploy my jar (j*ust copy it to the
standalone/configuration/providers directory*)
First,  I didn't find *providers *directory in configuration so I created
one where I copied my jar and I restarted my server. Then I tried to add my
FormAction to the registration Flow but I don't see any diffrence in admin
console. I mean I don't think my jar was deployed( I new to jboss)
I found there also another way to deploy jar: *throw jar in Keycloak deploy
directiry* but I don't understand what is meant by the "Keycloak deploy/
directory" mentioned in the documentation.

Another change I want to do is:  in reset password page add email
 validation.
I found some example.  *Keycloak is designed to cover most use-cases
without requiring custom code, but we also want it to be customizable. To
achive this **Keycloak has a number of Service Provider Interfaces (SPI)
which you can implement your own providers for*.
Could you please recommend one which I should implement for this goal.

I will appreciate any help.

Best regards,
Patrycja


More information about the keycloak-user mailing list