mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-17 22:21:33 +03:00
60233dcbcc
Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com> Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com> Co-authored-by: Filip Sodić <filip.sodic@gmail.com> Co-authored-by: Filip Sodić <filip.sodic@fer.hr>
521 B
521 B
When a user logs in using a social login provider, the backend receives some data about the user.
Wasp lets you access this data inside the getUserFieldsFn
function.
For example, the User entity can include a displayName
field which you can set based on the details received from the provider.
Wasp also lets you customize the configuration of the providers' settings using the configFn
function.
Let's use this example to show both functions in action: