Any progress on this issue?
Yes. We have reworked both Auth and User Account APIs. This is part of a larger update we plan to release next week.
OK, thanks, that's brilliant! I'm very much looking forward to that.
Hi Mark,
Could you please provide some more information about the forgot password functionality? Assuming I understood the thread correctly, I can't find anything in the API Docs.
Thanks,
Tom
Hi guys,
Here's a sample stack with the forgot password and change password functionality: canelasoftware.com/pub/livecloud_examples/main.livecode
There's a few requirements before you can start using it.
1. Create a new project in LCM
2. Copy the init code to the sample stack
3. replace tProjectName with the name of the new project (all the code is in the home card)
Clicking the "Forgot Password" label will show the "forgot password" ui
Clicking the "Send" button will send the user an email to verify they want to reset their password
Clicking the "Reset My Password" button in the email will send the user a second email with a new password
Clicking the "Login" button will attempt the auth the user. If successful, the "change password" ui will appear
Clicking the "OK" button will change the users password
Please note: user local data is encrypted using their password. If a user forgets their password and changes it, any local data they have will become inaccessible. We have been discussing ways to solve this. We will swing back around and fix this once we solidify our solution.
Let me know if you have any questions.