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.


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.

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.


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.


Solution