Stable Version 1.0.0 (OutSystems 10)
Published on 08 August 2018 by 
Created on 08 August 2018
Basic: To invoke the REST API, a team will need to specify a username and password on the HTTP headers of the request;
Read More

When exposing a REST API, a team can configure the service to require authentication. There are three authentication modes available:

  • None: Anyone can invoke the API without needing to authenticate;

  • Basic: To invoke the REST API, a team will need to specify a username and password on the HTTP headers of the request;

  • Custom: An organization can implement their own authentication mechanism. 

Basic authentication

To require username/password authentication in a team's REST APIs, a team has the option to add basic authentication. This is done in the visual editor by setting the 'Authentication' parameter for the service.

Once a service has basic authentication, all clients that use the API need to send the credentials on the HTTP headers of the request. If no credentials are present, OutSystems automatically sends a JSON response with an error message, which looks like:

  "Errors": [
    "Basic Authentication required."

When clients send their credentials, OutSystems makes them available as parameters. This automates much of the boilerplate code that developers need to implement authentication functionality.

Reviews (0)
Developer Tools
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Vijay Malviya who created this component.
SecureRESTAPI has no dependencies.
Component Consumers
No consumers yet.
Weekly Downloads 
Related Components
Architecture Team
A tool to discover and measure your architecture and understand how to improve
OutSystems Now
OutSystems R&D
OutSystems Now brings your OutSystems experience to any device.
Infosistema DMM
Infosistema Solutions
Infosistema Data Migration Manager (DMM) - With DMM you reduce costs by saving hundreds of hours building custom scripts, increase quality and allow unprecedented flexibility in managing your data. DMM enables data migration across OutSystems environments or servers (v9 or v10) using a simple user interface without the need of building custom scripts. It also supports features like data anonymization and data scramble, essential to comply with GDPR.
More from Vijay Malviya
Listbox Add  Remove Item
Vijay Malviya
The items will be dynamically added (inserted) and deleted (removed) from ListBox.
Tabs With Fake Notify Widget
Vijay Malviya
Tabs With Fake Notify Widget
Multiple Checkboxes Select
Vijay Malviya
In this article I have explain how to implement a Multiple Checkbox Select (MultiSelect) DropDownList with CheckBoxes.