Hi

I want to add auth to the rest API,

for that, I want to use OAuth?

can anyone help me how can I achieve this in OS


thank you,

omkar

Hi Omkar,

Here’s a very good Forge component with a demo application to get you started. It uses OAuth2 protocol.

Regards,

Nordin

Solution

Hi,

please check this article that will help you: Securing Your OutSystems APIs With OAuth 2.0

There are several components on Forge related with that, and that already implement it.

Nevertheless, if you want to learn how to implement it, we have just release an exercise focusing on how to integrate with an OAuth 2.0 provider.
In this exercise we use Google OAuth, but you could adapt it to another provider.

Check the content here: https://www.outsystems.com/learn/lesson/1839/integrating-with-oauth-exercise/

If you have any feedback let us know!


Cheers,

Nuno Verdasca




Solution

yes I got the solution, thank you all