InseeFr / Keycloak-FranceConnect

Extension Keycloak facilitant l'utilisation de FranceConnect
MIT License
87 stars 31 forks source link

[BUG] Incompatibility with keycloak version greater than 9.0.2 #39

Closed micedre closed 4 years ago

micedre commented 4 years ago

Describe the bug

When using Keycloak > 9.0.2, it is impossible to save the IdentityProviderConfiguration with the message :

 ERROR [org.keycloak.services.error.KeycloakErrorHandler] (default task-2) Uncaught server error: java.lang.AbstractMethodError: Receiver class fr.insee.keycloak.FranceConnectParticulierTestIdentityProviderFactory does not define or inherit an implementation of the resolved method 'abstract org.keycloak.models.IdentityProviderModel createConfig()' of interface org.keycloak.broker.provider.IdentityProviderFactory.

To Reproduce Steps to reproduce the behavior:

  1. Go to the France Connect Identity Provider configuration page (or add a new FC IdP)
  2. Modify something
  3. Click on save
  4. You get the message : image And in the logs :
ERROR [org.keycloak.services.error.KeycloakErrorHandler] (default task-2) Uncaught server error: java.lang.AbstractMethodError: Receiver class fr.insee.keycloak.FranceConnectParticulierTestIdentityProviderFactory does not define or inherit an implementation of the resolved method 'abstract org.keycloak.models.IdentityProviderModel createConfig()' of interface org.keycloak.broker.provider.IdentityProviderFactory.

The config is not saved !

Expected behavior

Config is saved without errors.

Additional context