Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve name handling from OpenID 2.0 sources #518

Merged
merged 1 commit into from Mar 15, 2013
Merged

Improve name handling from OpenID 2.0 sources #518

merged 1 commit into from Mar 15, 2013

Conversation

pdegenhardt
Copy link
Contributor

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.

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.
mythz added a commit that referenced this pull request Mar 15, 2013
Improve name handling from OpenID 2.0 sources
@mythz mythz merged commit 69a45c3 into ServiceStack:master Mar 15, 2013
@mythz
Copy link
Member

mythz commented Mar 15, 2013

cool, thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants