Not able to publish Custom User provider module

I am working on reactive web app. And from its User Espace, I have cloned the User provider module and named it as "EmpUsers". But I am getting many errors.

Hello Shikha,

What version of Platform you are using?

I try to clone espace Users and got this errors:

I found my solution in this post: https://www.outsystems.com/forums/discussion/43588/clone-user-modules-decryptsetting-method-not-found/#Post157394

I think the same applies to your issue because all the errors are related eith decrypt methods.

Can you try it?

Hope it helps.


BR,

Luis

Solution

Hi,


This is because you need to implement the encryption and decryption yourself in a clone (as stated in the post Luis mentioned).

To make life easier I created a forge component with a basic implementation of this functionality, so just add this component into your dependencies and you should be able to publish right away.


https://www.outsystems.com/forge/component-overview/7980/custom-cryptographic-for-user-module-clones 

Regards,

Dennis

Solution

Dennis de Jager wrote:

Hi,


This is because you need to implement the encryption and decryption yourself in a clone (as stated in the post Luis mentioned).

To make life easier I created a forge component with a basic implementation of this functionality, so just add this component into your dependencies and you should be able to publish right away.


https://www.outsystems.com/forge/component-overview/7980/custom-cryptographic-for-user-module-clones 

Regards,

Dennis


Thanks it worked .. 

One more question: When I add custom user provider to my Application, will it use the Users table or it creates separate EmpUsers that only stores users for the current application?



Shikha Basra wrote:

One more question: When I add custom user provider to my Application, will it use the Users table or it creates separate EmpUsers that only stores users for the current application?



The users from both the normal User module as your clone are physically living within the same table, but are seperated/filtered by tenant.
So theoretically you could have 2 the same exactly the same users in both the user module as in your clone.