Improve name handling from OpenID 2.0 sources #518

Merged
merged 1 commit into from Mar 15, 2013

2 participants

@pdegenhardt

When retrieving attributes from an OpenID 2.0 source, names were not
being handled well. This change ensures that fullName explicitly uses
the first of "http://schema.openid.net/namePerson",
WellKnownAttributes.Name.FullName, or WellKnownAttributes.Name.Alias to
return a value. Where none of these are present but
WellKnownAttributes.Name.First and/or WellKnownAttributes.Name.Last are
provided, these will be concatenated to infer a fullName.

@pdegenhardt pdegenhardt Fixed name handling in OpenIdOAuthProvider
When retrieving attributes from an OpenID 2.0 source, names were not
being handled well. This change ensures that fullName explicitly uses
the first of "http://schema.openid.net/namePerson",
WellKnownAttributes.Name.FullName, or WellKnownAttributes.Name.Alias to
return a value. Where none of these are present but
WellKnownAttributes.Name.First and/or WellKnownAttributes.Name.Last are
provided, these will be concatenated to infer a fullName.
8c198fd
@mythz mythz merged commit 69a45c3 into ServiceStack:master Mar 15, 2013
@mythz
ServiceStack member

cool, thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment