You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just tried this provider with version 26.0 and it throws an error when we try to access the OTP form.
The issue is due to an exception thrown during authenticate because the authenticatorConfig() is empty.
I was able to fix it by changing line 45 in ConditionalEmailAuthenticatorForm.java :
AuthenticatorConfigModel model = context.getAuthenticatorConfig(); Map<String, String> config = model != null? model.getConfig() : Collections.emptyMap();
The fix is based on an equivalent issue reported here and the pull request which fix it.
Sorry I'm not an actual java developer and won't be able to generate any test based on the fix so I won't do a pull request
The text was updated successfully, but these errors were encountered:
Hi,
I just tried this provider with version 26.0 and it throws an error when we try to access the OTP form.
The issue is due to an exception thrown during authenticate because the authenticatorConfig() is empty.
I was able to fix it by changing line 45 in
ConditionalEmailAuthenticatorForm.java
:AuthenticatorConfigModel model = context.getAuthenticatorConfig();
Map<String, String> config = model != null? model.getConfig() : Collections.emptyMap();
The fix is based on an equivalent issue reported here and the pull request which fix it.
Sorry I'm not an actual java developer and won't be able to generate any test based on the fix so I won't do a pull request
The text was updated successfully, but these errors were encountered: