How to install a custom SAMLLoginResponseMapper?

I’ve written a custom SAMLLoginResponseMapper, but I can’t seem to get Keycloak to load it.

I put the class name in META-INF/services/org.keycloak.protocol.saml.mappers.SAMLLoginResponseMapper.

Is there something else I need to do in order to load it properly?


Answered my own question. The class name needs to be put in META-INF/services/org.keycloak.protocol.ProtocolMapper which is the actual Provider implementation.