Hello,
I use the free version of OutSystems Service Studio. I'm getting an error every time I try to login to any Traditional Web app with newly created users. I create new users at personal-envcode.outsystemscloud.com/Users/User_List.aspx and try to login in the Traditional Web app, just for learning purposes, but it returns "Invalid username or password". I didn't add any authentication logic and the newly added users don't have any roles. It's just simple login attempt in the standard login page of OutSystems after setting the page role to Registered.
I noticed that the Traditional Web app requires email instead of username in the standard login page. I can only login as superuser (my own email and password) in the Traditional Web apps. I checked that, in Traditional Web apps, the Data>System>Users table in Service Studio have the newly created users. I updated the dependencies many times, cleaned the cache and tried it in incognito tab. Nothing worked.
The error doesn't happen with any Reactive Web apps.
I encountered this error because I was watching a tutorial recorded 4 years ago and the tutor used Traditional Web app to show how to add and managenew Users and it works fine in the video. I wonder if it's some update with current OutSystems.
hi Elisa Amaral,
You need to use UserName instead of Email Address of newly created user on Traditional Application login Page.
Please check.
Hello.
There can be two things.
Are you trying to login into an app made by you? There are IT Users and Application Users. The IT Users on the free version is only you, the ApplicationUusers are the ones you create at /Users.
You use the IT User to login at Users, Service Studio, Lifetime and Service Center, you use Application Users to login at apps made by you. There, they must have the proper roles or you will get "invalid permissions" screen.
Because your initial IT User is also created as Application User with the same password, it is confuse them.
The login requiring email or username shouldn't be relevant as long as the app has the right logic.
Can you share the link for the video? 4 years don't match any major change. I just want to confirm if they are talking of Enterprise Manager (a 10 years old user management system) or other things.
Yes, all tests I've tried are with Traditional Web and Reactive apps created by me. I'm able to login with my IT user in both type of apps created by me, Traditional and Reactive, but the Traditional Web apps don't accept the users at /Users, only my IT User.
In /Users I'm able to see the list of users I create, and my IT User is part of the list. In Service Center, only my IT User is listed in the Service Center/Users tab. Is that correct?
Here's the tutorial link: https://youtu.be/FUQuKSJpljE
It sounds ok.
Check what Siya said as I can't think of another reason.
@Elisa Amaral : Everything seems Ok based on the information you have shared. Do check the "User Provider Module" of the Traditional Web App is set to Users.
@Nuno Reis and @Siya thank you for your help, as it happens it was the login with email address instead of username in Traditional Web App that was causing the issue as BHUPENDRA SINGH stated. The label said Email Address, but the Variable to that input was set to UserName: