Hello,

I'm trying to consume a REST api (Zoho CRM) https://www.zoho.com/crm/help/api/v2/#OAuth2_0

Is there a built in function or best practice for dealing with OAuth authentication?

I'm fairly new to Outsystems, any pointers would be appreciated.

Thank you

There are a number of components in the Outsystems Forge that use oAuth, I suggest doing a search on oAuth in the forge and see if either one of them can be used or looking at the code to see how they do it.

Solution

Hi David,

Like John said, 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!

Regards

Solution