[keycloak-user] Using your SPI provider instead of default one

Lukasz Lech l.lech at ringler.ch
Fri Oct 5 04:53:17 EDT 2018


Hello,

There is something that I have missed in provider's documentation ( https://www.keycloak.org/docs/3.3/server_development/topics/providers.htm ).

I've implemented my own SPI (EmailTemplateProvider -mock implementation that logs on console using slf4j instead of sending anything). I've dropped jar in deployments folder. I see message my SPI got registerd and it's listed in server info.
However, when I try to register, a default (freemarker) email template provider is called.

How can I choose, which SPI will be used for my realm? Or there can be only one?

Best regards,
Lukasz Lech


More information about the keycloak-user mailing list