Genpact Cora Knowledge Center


Consume a REST Service that Has OAuth2 Authentication

To consume a REST service that has OAuth2 authentication, first, you write a message handler. Then, you use the message handler in an HTTP Consumer Activity.


In this sample, we provide implementation of the OAuth HTTP consumer extension (which connects to Twitter). We also include a sample workflow.