NullPointerException in Custom Authenticator during First Broker Login Flow

Can someone please help me with this issue
I’ve developed a custom Keycloak Authenticator (PinCodeVerificationAuthenticator) to add PIN code verification as a second factor during authentication. This authenticator is configured to check if the client ID is in a list of clients that require PIN verification, loaded from the authenticator’s configuration.

The authenticator works perfectly when used in the Registration Flow. During registration, the configuration is loaded correctly, the client ID is checked, and the PIN verification form is presented as expected.

However, when I try to use the same PinCodeVerificationAuthenticator in the First Broker Login Flow (specifically for Google Social Login), I encounter a java.lang.NullPointerException. The logs clearly show that the AuthenticatorConfigModel is null within the authenticate() method of my custom authenticator in the Broker Login Flow context.