260
Views
9
Comments
Solved
From-o11-to-odc course: Invalid credentials trying to login to Directory app
Application Type
Reactive

I'm following the Training/ From O11 to OutSystems Developer Cloud/ OutSystems Developer Cloud Portal/. I've successfully installed and published the Directory and Vacations apps of the course, and now I'm stuck trying to login to the Directory app because I'm getting the Invalid Credentials error.

I've confirmed that I'm inserting the correct credentials - the same I'm using to login to the ODC Portal.

I've even added myself with role Administrator to the Assets scope of the 2 apps (which should be unnecessary), and granted myself end-user access to the application roles.

What I notice - don't know if this is important - is that in my Profile I don't have an Username, and that the User entity in the app has No record to show.

I'm rather proficient in O11, so this is leaving me frustrated.

Can someone help me further?



odc_error.png
2026-01-28 16-57-48
Mihai Melencu
Champion
Solution

Hi Rafaela,

It seems that your user is not actually present in the Users database, which is why the built-in login isn’t working,this may be a bug. I recommend contacting OutSystems Support to investigate the issue.

In the meantime, you can try one of the following workarounds:

1. In the Identity Providers tab of the ODC Portal, you’ll find the Built-in Community Provider, which allows users to log in using their OutSystems account directly. If you create a new app, this provider is added automatically, you can then copy it to your Directory and Vacation app.

2. You can follow this guide to enable users to register themselves:

2024-03-17 19-41-29
Angon Chowdhury

Additionally, update the existing logout action in both the Directory and Vacation apps to ensure successful logout. To do this, copy the ClientLogOut action from the UserInfo block of a newly created app in ODC and replace the current implementation. 

2020-09-02 16-14-36
Ana Rita Loureiro

Hello Rafaela,

I have the same problem as you, how do you solve it?

Thanks.

UserImage.jpg
Rafaela Azinhal

Hi, Ana.

I've followed Mihai's first suggestion:

I've created an application from scratch, which created a login page with the Built-in Community Provider, and then copied that logic to the Directoy and Vacation applications.

You can then login through the Community Provider with your Outsystems credentials.


community_provider.png
UserImage.jpg
Mushu

For others that are not sure how to solve the issue, this was my workaround. 

1. download another app that has the built in community provider from Forge like "Database Access" 

2. open the app and log in 

3. open either the vacation or directory app and you'll be logged in automatically

UserImage.jpg
CheolWoong Ji


Mushu 고맙습니다.

Mushu 의견에 덧붙여서 말하자면 나도 이문제로 고생했는데 Mushu 의견을 따라서 다른 앱을(Database Access) 설치해서 로그인 화면으로 접근한 후 아래 이미지 노란색 영역의 버튼을 클릭하면 OutSystems 사이트 로그인 화면으로 로 이동을 해. 그 화면에서 사이트 로그인 계정으로 로그인을 완료한 후에는 다른 앱에서도 이제 정상적으로 로그인 됐어. 앱별로 System의 User 테이블을 바라보고 로그인을 하는데 거기에 정보가 없어서 발생하는 문제였음. 

근데 공식적으로 아웃시스템 강좌인데 이런 문제에 대해서는 어떻게 하라는 가이드도 없고. 그냥 알아서 하라는거야??? 아웃시스템즈 Forum 담당자는 한말디 해봐라 😡





UserImage.jpg
rizal

Hi Rafaela, in 2026 your problem happened to me ;(

2025-01-09 14-56-57
IQ78

Hi there,


I have my login Credentials, unfortunately cannot login to the very simple mobile apps. Why it is so hard in ODC? regards

2017-11-27 11-57-40
Nelson Rodrigues

Not being able to login into ODC apps with our own ODC account after granting the end-user roles, seems very odd and unexpected to me.

I had to invite a new user with an alternative e-mail and, that user was able to login without any issue.

The documentation also does not explain this behavior.

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