8
Views
4
Comments
Runtime created users Signup / FinishUserRegistration. Does it have a timeout?
Application Type
Reactive

I have a user manager within my Reactive Web Application. 

When a user is created, it performs "SIGNUP" and sends an email with activation details to the user. The user follows the link back and put's in his activation code and it performs "FinishUserRegistration" and grants all their application rights. 

It all works fine! ..... provided the user does his activation fairly promptly. If they wait and do their activation after some time... it seems to fail. 

Is there a timeout period that the activation has to be done in? 

2016-04-22 00-29-45
Nuno Reis
 
MVP

Hello.

This is a feature. For security reasons, "The Verification Code is valid for 15 minutes. This is a fixed value."

https://success.outsystems.com/documentation/outsystems_developer_cloud/outsystems_language_and_elements/system_actions/user_system_actions/


UserImage.jpg
Stephen Chown

Well damn. :) 

I guess I need to rethink my user registration process. 

2016-04-22 00-29-45
Nuno Reis
 
MVP

The easier approach is to think of it has an "email confirmation" step and do not send the email unless the user is actively online waiting for it.

It makes a lot of sense in self-registration portals.

For account creation by administration:

  • you create the user in backoffice by adding it to a table.
  • Send an email saying they can now proceed with registration.
  • In the self-registration validate they are in that table.

The data in that table can stay for as long as you want.

UserImage.jpg
Stephen Chown

Yes. Thanks. I'll try that approach. 

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