Hi,
I have built a custom Authentication SPI for my Keycloak instance but have run into errors when updating the SPI.
After I re-deploy the SPI, I am running into issues with existing identity providers that I have created in Keycloak.
The error I am getting is “[AbstractOAuth2IdentityProvider] immediate_failed for broker login oidc”
I see that the error is located here in the code, https://github.com/keycloak/keycloak/blob/master/services/src/main/java/org/keycloak/broker/oidc/AbstractOAuth2IdentityProvider.java#L488 , I am using Keycloak version 9.0.3 though it looks like that part of the code is the same.
When I deploy the SPI, I just copy the EAR file in the deployments without restarting the Keycloak server.
I’m wondering whenever I update the SPI do I also have to restart the server in order for my identity providers to continue to work?
Or is there another fix for this issue?
Thanks,
Nick Kasprzak