I’m trying to create the default mapping file for a custom login provider but I’m unclear on the format or how to go about setting that up? I can’t seem to find any documentation around what this is supposed to look like and what I should do.
Hello @Joshua_Titus
This mapping file should be in JSON format.
For example, I use my custom provider, which returns me data in the following form:
{
my_email: 'foo",
my_password: "bar"
}
But Backednless User doesn’t have columns like my_email or my_password, he has email and password so we need to map this data.
That is how it should look map file in this case:
{
my_password: 'password',
my_email: 'email'
}
I hope I helped with your questions, if something is still not clear, let me know.
Regards, Dima.
1 Like
Thanks Dima, this is helpful for the format. But does it all go in that little text box or do I need to create a file and put it somewhere and backendless is expecting the location of the file?
First variant.
Hi Joshua,
Could you please clarify what text box you are referring to?
Regards,
Mark