We agreed on this in some other thread: http://lists.jboss.org/pipermail/keycloak-dev/2016-January/006243.html

By default, firstBrokerLogin flow addresses conflicts in both email and username. So conflict in username can now be easily resolved and accounts can be linked at login time. So there is not much need to use tricky usernames like "brokerID.brokerUsername" anymore.

This PR addresses just default behaviour. If username mapper is used, it has always precedence. So there is still possibility to go back to previous behaviour or configure username template however you want.

Marek

On 29/01/16 19:49, Bill Burke wrote:
Can I ask why we did this?  There will be name clashes.  User has the power to change the name mapping already, don't they?


-------- Forwarded Message --------
Subject: [keycloak] KEYCLOAK-2292 Broker login: remove identity provider prefix from auto… (#2141)
Date: Fri, 29 Jan 2016 09:43:47 -0800
From: Marek Posolda <notifications@github.com>
Reply-To: keycloak/keycloak <reply+000abeef51cc88b4da9732edfddbd34fa49c6a261b2d314092cf0000000112c366d392a169ce07bd2342@reply.github.com>
To: keycloak/keycloak <keycloak@noreply.github.com>


…generated username


You can view, comment on, or merge this pull request online at:

  https://github.com/keycloak/keycloak/pull/2141

Commit Summary

File Changes

Patch Links:


Reply to this email directly or view it on GitHub.


-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com




_______________________________________________
keycloak-dev mailing list
keycloak-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev