Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle APEX using Xero OAuth Authentication - has anyone successfully completed?

AmandaWalshJun 27 2020 — edited Nov 4 2022

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.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 25 2020
Added on Jun 27 2020
0 comments
360 views