[keycloak-dev] brokerid + subject for brokered username?
Stian Thorgersen
stian at redhat.com
Tue Mar 24 13:21:51 EDT 2015
A username like that is pointless IMO.
Using username from broker actually has a pretty high chance of clash, especially for social logins. I very often can't get my preferred username when signing up to sites, and judging on how may saly9581 there are out there that's a common problem. That's why username for social logins used to be a UUID, but was for some reason changed.
For users provisioned through idp logins we should set the username to null, or equal to the user-id. When a user has a null username or username is equal to user-id it should not be displayed in account management, instead we could add an option to allow the user to set the username.
----- Original Message -----
> From: "Bill Burke" <bburke at redhat.com>
> To: keycloak-dev at lists.jboss.org
> Sent: Tuesday, 24 March, 2015 4:58:24 PM
> Subject: [keycloak-dev] brokerid + subject for brokered username?
>
> Although a remote possibility, it might be possible for usernames to
> clash when there are multiple brokers. Anybody have a problem with
> creating usernames of:
>
> brokerAlias + "." + external_username
>
> ??
>
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>
More information about the keycloak-dev
mailing list