Test app default credentials?
Question
Application Type
Reactive
Service Studio Version
11.10.10 (Build 38781)
Platform Version
11.11.0 (Build 27311)

Hi

I've built a test "Reactive Web" app but when I click "open in browser" after publishing it asks me for username and password? I didn't do anything relating login pages and I cant find this login screen anywhere? Also my OutSystems username and password don't work there.


mvp_badge
MVP

Hello Gleb,

Hope you're doing well.


That happens because you're trying to access to a Screen that has probably the Registered role.

By default, when you create a Screen in OutSystems, it has only the Registered role ticket:


When you tick the Registered role only, this means that only registered users (that can execute a login in the OutSystems platform) can access to your screen. If you are not logged in, the application (also by default) returns you to a Login page (this page is already implemented by default in the module - check Common UI Flow).

If you tick the Anonymous role, this means that everyone will be able to access that page. It is just necessary to know the URL.


My suggestion is: if this is only for testing purposes, you can tick that Anonymous role in your screens and you won't need to specify credentials.

If this is not the case, you will need to:

  • Go to this page: https://<your-environment>/Users
  • Create a user in this Users application
  • Enter with those credentials


This Users application provides users for access to your application because your module has defined Users application as the User Provider. You can also check this in the properties of the module:


Please read more in this documentation:
https://success.outsystems.com/Documentation/11/Developing_an_Application/Secure_the_Application/User_Roles
https://success.outsystems.com/Documentation/11/Developing_an_Application/Secure_the_Application/End_User_Management


Hope that this helps you!


Kind regards,

Rui Barradas


mvp_badge
MVP

Hi Gleb,

When creating an application in Service Studio, it is standard for the login screen to be created automatically, you will find the login screen here:


Regards.

Champion

Hi Gleb,

Here is the step by step guide to help you access the Outsystems Users application  at first to make login and after that create new user in it for yourself:

Managing Users

  1. Type the following URL in your web browser: "https://<SERVERNAME>/Users" where <SERVERNAME> is the host  name of the server you're working on. The login page should be displayed.
  2. Fill in the credentials of an administrator user and press the 'Login' button.

    By default, a user “admin” with the password “admin” is created for you. If you haven't changed them yet, use those to fill the credentials inputs.

  3. And you're in! Welcome to the Users management console.

Adding Users

  1. Select the 'Users' tab and click on 'Create new User';

  2. Fill in the user data as depicted;

  3. Press the 'Save' button, a success feedback message should be displayed;

  4. And you're done! This user is ready to login in any application.


Hope it helps, Thanks :)


Hi gleb,

 you can manage user from this url also. and below login screen you need to enter your service studio credential and after login you can manage user for your login screen.   


https://yourpersonal.outsystemscloud.com/USERS



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