Add GivenName and Surname default claims to FacebookOptions
This commit is contained in:
parent
e160f5e6c0
commit
553e036d28
|
|
@ -28,6 +28,8 @@ namespace Microsoft.AspNetCore.Builder
|
||||||
Scope.Add("email");
|
Scope.Add("email");
|
||||||
Fields.Add("name");
|
Fields.Add("name");
|
||||||
Fields.Add("email");
|
Fields.Add("email");
|
||||||
|
Fields.Add("first_name");
|
||||||
|
Fields.Add("last_name");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Facebook uses a non-standard term for this field.
|
// Facebook uses a non-standard term for this field.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue