387
Views
3
Comments
Solved
How to secure Web API in outsystems ?
Question

Hello All,

I am developing one middleware application in outsystems in which I am creating the Web APIs. I want to secure my APIs with some authentication token like generally we do in any C# api. How I can achieve it through the outsystems ?

Should I use the C# extension. Can anyone suggest the better way ?


Thanks in advance.


2019-04-01 12-11-28
Craig St Jean
 
MVP
Solution

Neeraj Purohit wrote:

Hello Craig,

Thanks for your quick response.

Yes, I am following OAuth 2.0. I prefer extensions as I can apply more logics and security levels in C# code than using the components. I was just concern if extension affect the performance of the application or not.


It will not affect the performance, though it can affect the maintainability of your application as it will require C# developers to make changes.


2019-04-01 12-11-28
Craig St Jean
 
MVP

Hello Neeraj,

Are you currently using any standards such as OAuth 2.0?  There are some Forge components that can help you with that if so.

If you are using something proprietary, you can use Custom Authentication on REST APIs - have you seen this page: https://success.outsystems.com/Documentation/11/Extensibility_and_Integration/REST/Expose_REST_APIs/Add_Custom_Authentication_to_an_Exposed_REST_API?

Extensions are also an option of course.

UserImage.jpg
Neeraj

Hello Craig,

Thanks for your quick response.

Yes, I am following OAuth 2.0. I prefer extensions as I can apply more logics and security levels in C# code than using the components. I was just concern if extension affect the performance of the application or not.


2019-04-01 12-11-28
Craig St Jean
 
MVP
Solution

Neeraj Purohit wrote:

Hello Craig,

Thanks for your quick response.

Yes, I am following OAuth 2.0. I prefer extensions as I can apply more logics and security levels in C# code than using the components. I was just concern if extension affect the performance of the application or not.


It will not affect the performance, though it can affect the maintainability of your application as it will require C# developers to make changes.


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