#616·goth

Apple auth not fetching first name and last name even with the name scope

Author: ErolCreated Aug 18, 2025Updated Aug 18, 2025

It seems like the first name and last name is not being fetched for Apple Sign-In even if the name scope has been specified. I tried looking at the code it mentioned: https://github.com/markbates/goth/blob/4b34e1719daae56def96b42ec23ca05badf6ca24/providers/apple/apple.go#L124-L130

Since CompleteUserAuth has access to the request, I was thinking that fetching the names should be possible, though there would be a change on the method signature of FetchUser.

Just wondering if the omission was more of a limitation or was this intentional? If it's a limitation with the current implementation I'd like to take a stab at implementing this.