Hi All,
I am trying to set up my APEX app with an option to Authenticate with XERO.
Xero's documentation is great - it is me that is struggling with some of the concepts (noob here).
I have already:
- Set up an app in Xero.
- Created the Web Credentials
- Create a 'Social Sign-In' Authentication Scheme, using the 'Generic OAuth2 Provider'
- In the 'Authorization Endpoint URL' I have coped the example from the Xero documentation (https://developer.xero.com/documentation/oauth2/sign-in ), but this only works without error if I hard-code the client_id parameter. (I don't understand how/why the client_id I have saved in the 'Credential Store' is not used).
I am now at the step where I need to request an ID token that will give you the user's identity details - but I really have no idea how to do this in the APEX framework!
Was wondering if anyone could share their solution - any tiny snippet of help would be beneficial.
Regards,
Mandy.