Classic ASP: Help with OAuth2 Token

I am stumped with setting up an API call to Xero Accounts using OAuth2, any assistance
would be really appreciated.

I can successfully logon and retrieve data using postman/paw

I have my Server Action setup as follows (all values match)

I have a button that loads the server action, but when clicked or if I open the server action, nothing happens just the following error. ‘refresh’ is undefined


Thanks

Community Page
Last updated: