Feature #17037
Updated by Tom Clegg about 4 years ago
Current behavior: * when Google People API is in play, get "given_name" "first_name" and "family_name" fields from the People API response. * otherwise, use the "name" field from the ID token returned from access token verification, and split on whitespace. Desired behavior: * before falling back to the "name" field in the ID token, check whether "first_name" and "family_name" are available from the userinfo endpoint, and use them if so. Additionally, although "given_name", "first_name", "family_name", and "name" are all "standard claims":https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims we could make the claim names configurable, in case some providers only offer this info in non-standard claims.