Stable Version 1.0.0
Published on 15 December 2015 by 
Created on 15 December 2015
This application contains a sample implementation of OAuth authentication for Exposed REST APIs
Read More
This application contains a starting point for implementing OAuth authentication in your Exposed REST APIs. The application is composed by three different modules:

  • Includes all the logic related to OAuth implementation, such as Authentication Code and Token storage, authorization screens and redirections, endpoints for Token generation and Token authentication.
  • Includes the bootstrap of one sample Client so you can test the sample from the get-go.
  • This module can be reused or provide a starting point for your own OAuth implementation.


  • Includes a sample Expose REST API that is protected by OAuth authentication.
  • It shows how to do require an access Token for authentication, and uses the sample provider to validate the Token.


  • Simulates what a third party client would do when accessing a REST API protected with OAuth.
  • The client identification used by this consumer is already bootstrapped in the sample provider. To use different client credentials, you need to implement client registration logic in your applications.
  • To test this module, you need to open it and follow the instructions in the homepage to replace "YourServer" by the address of your Platform Server

Reviews (0)
Applications, Libraries, Samples & How-tos
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 Armando Gomes who created this component.
OAuthSample has no dependencies.
Component Consumers
OAuthSample has no consumers.
Weekly Downloads 
Related Components
Google Drive Connector
OutSystems R&D
Google Drive Connector allows your OutSystems Applications to use the Google Drive REST API to interact with your files.
OutSystems UI Mobile
OutSystems R&D
Create amazing native mobile applications using this fully integrated UI framework for OutSystems, with dozens of UI patterns ready to use.
Field Services Mobile
Field Services Team
Sample mobile app to support telecom technicians in performing field services.It’s specially designed for iPads, with an iOS10-like look and feel. Works completely offline, as it allows the technician to perform all tasks offline and synchronizes all data when connected. Uses mobile plugins to integrate location and barcode scanning with the device. This sample app can be integrated with your existing systems and be fully customized to your specific company needs in a matter of days or weeks.
More from Armando Gomes
Drag-n-drop Sortable List
Renato Pauleta
Allows to sort elements in list records or table records using drag-n-drop
Google Analytics
GA Team
Google Analytics for Web - analytics of your website quickly
Armando Gomes
The (N)o M(o)re Site (P)roperti(e)s initiative. This is an attempt to make a useful module to use as a configuration manager.