Could you check variable data on the success event?
Please add JS code below to get it's value:
console.log(JSON.stringify(data));
and provide us that value from the console (for two cases: user exists and doesn't exist)
Could you check variable data on the success event?
Please add JS code below to get it's value:
console.log(JSON.stringify(data));
and provide us that value from the console (for two cases: user exists and doesn't exist)
Hello again,
Under Success Event, I would like to Map the sessionToken (under Service Response) to the userSessionToken (under Local Storage) but the sessionToken is not appearing under Service Response.
How can I get the MySQL database to return a sessionToken so I can map it with Local Storage? Thank you in advance.
It is impossible to create sessionToken with plain MySQL. It is a server's feature, so you have to do it with some server's scripts.
Thanks for the clarification Sergiy. Can you please provide some guidance as to where I can find this script and description of script and steps to take? The database is running on a Linux Server with Apache, PHP, mySQL, Perl. Thank you.
Hello,
Just following up on my question above. Thank you.
This question is not related to Appery.io platform, please search online for appropriate solution.
Hello Ed,
Did you figure out to how to authenticate on user/password in remote DB? If so, could you share the scripts and process?
thanks,
Jeff