Hi,
I am currently using my own OAUth Callback function based on your paypal implementation and it works very well.
Are there any advantages moving to Application.OnOAuthCallback/OnAuthToken?
The arguments of these functiosn are not listed in the documentation so I cannot experiment.
Thanks,
Ken
I'm not sure how you implemented it so I'm not sure if there are advantages to using the TApplication level integration.
We added it mainly for convenience so users wouldn't have to reinvent the wheel.
When I make the OAuth request to the HMRC MTD API I include a state,
which is a GUID, and they give me back the code (token) and also
thestate that I sent to them. It is returned as:code=xxx&state=yyy
but I can only get access to the code(token) currently.