Using OAuth Authentication
Xero uses the OAuth authentication standard. The driver facilitates this in various ways as described below.
Embedded Credentials
See Embedded Credentials to connect with the driver's embedded credentials and skip creating a custom OAuth app.
Custom Credentials
See Creating a Custom OAuth App to register your application with Xero. Ths is only recommended if you need to cutomize the authorization screen itself, such as providing your own callback URL or branding.
Headless Machines
Creating a custom OAuth app is optional to authenticate a headless machine; the driver is already registered with Xero and you can connect with its embedded credentials. In the headless OAuth flow, users need to authenticate via a browser on another machine.