Fix user provision with domain separator for federated login
@@ -162,6 +162,9 @@ public abstract class AbstractApplicationAuthenticator implements ApplicationAut
Map<String, Object> eventProperties = new HashMap<>();
String username = MultitenantUtils.getTenantAwareUsername(context.getSubject().toFullQualifiedUsername());
+ if(context.getSubject().isFederatedUser()) {
+ username = UserCoreUtil.removeDomainFromName(username);
+ }
String tenantDomain = context.getTenantDomain();
IdentityEventService identityEventService = FrameworkServiceDataHolder.getInstance().getIdentityEventService();
RealmService realmService = FrameworkServiceDataHolder.getInstance().getRealmService();
