10
Views
3
Comments
authentication and authorization of rest api
Question

Hi All,

Can someone pls help me how can i authentication and authorization of rest api.


Thanks,

Rank: #138

Ramesh Sharma wrote:

Hi All,

Can someone pls help me how can i authentication and authorization of rest api.


Thanks,

 

 you try this

https://success.outsystems.com/Documentation/11/Extensibility_and_Integration/REST/Expose_REST_APIs/Add_Basic_Authentication_to_an_Exposed_REST_API

Rank: #3021

Hello Ramesh, 

There are two types of authentication provided out of the box by Outsystems. 

Basic:

This one uses Outsystems User name and password for authentication.

https://success.outsystems.com/Documentation/11/Extensibility_and_Integration/REST/Expose_REST_APIs/Add_Basic_Authentication_to_an_Exposed_REST_API#:~:text=OutSystems%20allows%20you%20to%20add,%22Authentication%22%20property%20to%20Basic%20.


Custom:

You can write your own authentication mechanism in the OnAuthentication event generated for you by Outsystems. 



For Authorization, You will have to write your own logic on the OnRequest event to see if the user context is authorised or has any role to perform the specific action.


Rank: #138