Skip to content

Name and Surname #46

@markonikolicdir

Description

@markonikolicdir

Hello,

I am using this lib and it is working very good but missing data about user when user logging from mobile app.

I saw in method mapUserToObject that you are taking from the request firstName and lastName.

Is only solution for this to grab it from mobile app?

In Apple doc I didn't find firstName or lastName.

https://developer.apple.com/documentation/sign_in_with_apple/sign_in_with_apple_rest_api/authenticating_users_with_sign_in_with_apple


Acceptance Criteria

  • First and last name provided by Apple during first sign-in are captured and returned in the user object
  • Name fields are only provided by Apple on the first authorization — package handles subsequent logins (no name) without error
  • Name data is accessible to the application via the socialite user object

Test Coverage

  • Unit test: name fields are parsed from Apple's identity token / POST body on first sign-in
  • Integration test: subsequent sign-ins without name data do not cause errors or overwrite existing name with null
  • Test: user object exposes getName(), getFirstName(), getLastName() correctly

WSJF Priority Score

  • Score: 3.8
  • User/Business Value: 7
  • Time Criticality: 8
  • Risk Reduction/Opportunity Enablement: 8
  • Calculation: (7 + 8 + 8) ÷ size

Metadata

Metadata

Assignees

Labels

WSJF-3.80WSJF score 3.80bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions