-
Notifications
You must be signed in to change notification settings - Fork 1
Description
In section 3.2.1.1 of "The Swedish OpenID Connect Profile" it says:
In order to avoid privacy violations an OpenID Provider MUST NOT use an end-user attribute that reveals personal information about the end-user as the value for
sub, for example a personal identity number. Even though this information may be available in other token claims, its release should be dependent on requested scopes (or claims) and not be revealed unless explicitly requested (and in some cases consented).
This has proven to be a bit too tough for some local deployments of OIDC, and we should allow any end-user identity attribute to be used in sub as long as the client has requested its corresponding claim (directly, or indirectly using a scope). However, we should still recommend against this.