social signUp flow
I want to enable my users to sign up with Apple. I have additional required fields on the
user
model:
Using email signUp flow I can add those fields as 1st argument to the signUp function:
authClient.signUp.email(registerFormData, { ...
How can I do the same using authClient.signIn.social({provider: 'apple' ...
2 Replies
if the data actually coming from the apple provider - you can us mapUserToProfile -
Thank You!
Apple is sending this data (firstName, lastName) somewhat differently - the profile has some tokens, dates and email, but no names. I can find the data in the network tab after betterAuth throws an error at me (surname not provided). But I'm not sure how to access it