55
Views
7
Comments
Change password from email

Hello friend, Do you know how the process send email to change password, then from email can link to change password and show screen change password in mobile app. Do you have a file example? I need a reference for change password via email. 

Thanks

2021-10-09 07-57-44
Stefan Weber
 
MVP

Here is a good article on how to build a password recovery service https://itnext.io/building-a-password-recovery-service-in-outsystems-38ca0606e841

Stefan

UserImage.jpg
Monifa Arini

I had opened the link before. But after I install his dependencies in forge, I got notification is about "manage dependencies" for the message. I want try but cannot publish the module

UserImage.jpg
Monifa Arini

Have you another reference for step by step to crate the logic in details? Because in that reference I'm confuse to start.

2021-10-09 07-57-44
Stefan Weber
 
MVP

Sorry, iam not aware of another article on that topic.

UserImage.jpg
Monifa Arini

Have you ever create project is about change password? Will you share for the process with me?

2021-10-09 07-57-44
Stefan Weber
 
MVP

Multiple in different customer projects and of course within our very own environment. Unfortunately i cannot share our work with and it wouldnt help you either as it is much more complex than Rui Barbosas basic implementation of a password recovery service. Actually it shouldnt be too complex. Try to reimplement it yourself based on what he writes. Dont just import the sample and try to fix and understand it.

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Monifa,

To succesfully create software, you need to know your tools, and you need to know how to design software. It seems that on both accounts, you are falling a bit short.

First, the message you got about managing dependencies is a very common, very normal message you can get when using the OutSystems Platform. That you seemingly have no idea what it means or what to do means, in my opinion, you do not have enough experience with the Platform to create more complex things like a password recovery. Also, the fact you haven't inspected the code to see what it does, but just say "I got a message, now I don't know what to do" is a sign you are not tackling this the right way.

Secondly, it's unclear what you do not know how to do. If you break this down functionally, it goes something like this:

  1. User presses a button, the app sends an e-mail with a link to change the password;
  2. User presses the link, opening a screen that asks for a new password;
  3. App saves the new password and redirects the user to the login screen.

So your challenges are:

  • How does the app now which user changed their password, when the link is opened?
  • How do you prevent a hacker from guessing the right link to change another user's password?
  • How do you store a password in the User entity?

If you had asked any of the above questions specifically, we could have answered them fairly straightforward, but instead you asked a very generic question. And to top it off, Stefan also sent you a link that mostly explains everything you need to know and do, so even if the example didn't directly work, you could've read the article and created the software you need.

So, please, take a step back and think of whether you should do this at all, or perhaps give the assignment to an experienced colleague that actually knows how to use OutSystems and how to create software, so you can focus on some the less challenging tasks.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.