on
- update profile page is presented for all users
+ * missing
- update profile page is presented for users with missing some of mandatory user profile fields
+ * off
- update profile page is newer shown after first login
+ * A model type representing the configuration for identity providers. It provides some common properties and also a {@link org.keycloak.models.IdentityProviderModel#config} * for configuration options and properties specifics to a identity provider.
@@ -43,7 +45,13 @@ public class IdentityProviderModel { private boolean enabled; - private boolean updateProfileFirstLogin = true; + /** + * For possible values see {@link IdentityProviderRepresentation#getUpdateProfileFirstLoginMode()} + * @see IdentityProviderRepresentation#UPFLM_ON + * @see IdentityProviderRepresentation#UPFLM_MISSING + * @see IdentityProviderRepresentation#UPFLM_OFF + */ + protected String updateProfileFirstLoginMode = IdentityProviderRepresentation.UPFLM_ON; private boolean trustEmail; @@ -70,7 +78,7 @@ public class IdentityProviderModel { this.alias = model.getAlias(); this.config = new HashMap