KEYCLOAK-13119 Fixing migration to Keycloak 2.2.0+ to correctly preserve default identity provider
This commit is contained in:
parent
49b1dbba68
commit
1e0fcc4883
1 changed files with 1 additions and 0 deletions
|
@ -417,6 +417,7 @@ public class DefaultAuthenticationFlows {
|
|||
Map<String, String> config = new HashMap<>();
|
||||
config.put("defaultProvider", defaultProvider);
|
||||
configModel.setConfig(config);
|
||||
configModel.setAlias(defaultProvider);
|
||||
configModel = realm.addAuthenticatorConfig(configModel);
|
||||
|
||||
execution.setAuthenticatorConfig(configModel.getId());
|
||||
|
|
Loading…
Reference in a new issue