USE DATA FROM MY DATABASE
Question
Application Type
Reactive

Good night, so with a brief introduction of me, I'm a  newbie learning outsystems, I'm not following so much the courses here I'm the kind of person who doesn't learn much just watching something, so I'm learning trying doing my things. I'd like to know, how can I register in a formulary and use my registration to logging into the program. someone's can help´ me. I would like to use my username, and password stored in my own database, when I try to use it, doesn't work, it just works if I put my outsystem information. 

63daa18ad8ea4b5e81ccda2aaba292ee.jpg

Solution

Hello @Emanuel Ramos,

The username and password that you signed up with is stored in the following User entity under 'System'.

You may ofcourse create a new entity in which the User.Id will be a foreign key but the login authorization is still best handled by the System -> User entity for a variety of reasons as also discussed in this forum thread - https://www.outsystems.com/forums/discussion/61541/outsystems-users-entity-better-to-extend-with-custom-or-create-you-own-custom-u/#Post239343

You can also extend this System -> User entity if needed but not modify it directly.
Reference documentation - https://success.outsystems.com/Documentation/How-to_Guides/Logic/How_to_add_extra_logic_to_Users'_login?origin=d

Hope this helps, and welcome to the community!

Best regards,

AJ

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