I’m using loginWithOAuth2() function to add User information to Backendless, and everything works fine. I’m able to see those same information. However, apparently I haven’t configured fields mapping correctly, because I don’t see those specified information in Users table.
mutableMapOf(
"email" to "email",
"given_name" to "first_name",
"family_name" to "last_name",
"picture" to "profile_photo"
)
I’m using Sign in with Google provider to authenticate my users. I don’t know if I specified the right field names? I’ve used those names like ‘given_name’, ‘family_name’, ‘picture’ because I’ve seen those fields when I used JWT Token ID.
The key in this map, represents provider field name, and the value (on the right side) represent the column name that should be added in Users table on backendless.