Oauth2 request from listener

alt=
DannyA
@dannya
6 years ago
584 posts
I am trying to make a listener that can execute an api request.
Specifically, the service provider uses oauth2 to request the token first, then I can make the calls.
I want to make a listener to send the user signup information when the signup form is submitted.
https://www.zoho.com/crm/help/api/v2/#generate-access

Is it possible for the listener to request the token first and then send the data?
updated by @dannya: 08/29/18 06:14:48PM
brian
@brian
6 years ago
10,148 posts
You can do anything you want in a listener - you can request the token via a request, then turn around and make another request. There's no restrictions on what you can do in a listener.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags