Closed plamalfa closed 6 years ago
The global variable is your implementation of my comments
// Persist "requestData" here so that the callback handler can
// access it later after returning from the authorize url
I could give a literal example, but I just want to indicate one should store it somewhere in a scope so that it can be accessed by another request handler.
I could change it to something like this:
// Persist "requestData" here (in a global variable for example) so that the
// callback handler can access it later after returning from the authorize url
Had to define requestData as a global variable to use in the get request for the callback URL.
Is the code above how you had intended the package to be used? A more complete example of these get requests in action would be helpful to understand their uses.