Created on 04 May 2015
icon_unfollowing
Login to follow
how-to-add-custom-authentication-to-a-rest-api

How to Add Custom Authentication to a REST API

Stable version 1.0.0 (Compatible with OutSystems 11)
Other versions available for 10 and Older
Uploaded on 24 August 2020 by 
how-to-add-custom-authentication-to-a-rest-api

How to Add Custom Authentication to a REST API

Details
This project illustrates how to add custom authentication logic to an exposed REST API.
Read more

REST APIs allow you to expose data and functionality of your application over HTTP to be used by other systems.

This project illustrates how to add custom authentication logic to an exposed REST API:
 
1. In the REST API, set the 'Authentication' property to Custom.
2. Implement your authentication logic in the 'OnAuthentication' callback action. To access values received in the request, use the following actions of the HTTPRequestHandler module:
     - GetFormValue
     - GetRequestHeader
     - GetRequestBody
 
If the authentication succeeds, the invoked REST API method is executed immediately after.
Otherwise an exception is raised, the request is aborted, and the response returns the error.
 
Release notes (1.0.0)

Upgraded to O11

Updated outdated information present in the module

Reviews (1)
by 
2019-10-16
in version 1.1.1
This is out of date... way out of date.
Category
Demos & samples, Security & authentication
Tags
Support options
This asset is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from  who created this asset.
Dependencies
How to Add Custom Authentication to a REST API has no dependencies.
Application Objects
How to Add Custom Authentication to a REST API has 5 AOs.
Team
Compatible with
Version 11
Database:
All
Asset consumers
No consumers yet.
Weekly downloads