Duaer

Integrations

Set up Xero credentials in Duaer

Store Xero connection details in Duaer for digital-organization nodes to use at runtime. Secrets are protected by the instance encryption key and are not written into node parameters.

Create a Xero app

The Duaer Xero OAuth2 API credential:

  1. In Xero Developer, click New app, choose Web app, and set Redirect URI to the Duaer OAuth Redirect URL.
  2. Generate a client secret under the app’s Configuration and put Client ID and Client Secret in the credential.
  3. Click Connect my account and pick the organisations the workflow may access on the Xero consent page.

Duaer requests invoices, payments, bank transactions, manual journals, attachments, settings, and contacts, plus offline_access so the connection renews itself.

Xero OAuth2 API fields in Duaer

In Duaer, choose Xero OAuth2 API when you create a credential, then fill in these fields:

  • Client ID (required)
  • Client Secret (required, secret)

Duaer uses the OAuth2 Authorization Code grant for this type.

In the provider’s app settings, register the OAuth Redirect URL that the Duaer credential dialog shows (https://<your-duaer-host>/rest/oauth2-credential/callback). Then click Connect my account in Duaer and approve access.

By default, Duaer requests these scopes: offline_access accounting.invoices accounting.payments accounting.banktransactions accounting.manualjournals accounting.attachments accounting.settings accounting.contacts.

Optional settings shared by every Duaer OAuth2 credential: Ignore SSL Issues (Insecure), Token Expired Status Code, Encrypted Tokens (JWE), JWKS URI. They are described under OAuth2 API.

Duaer nodes that use it: Xero.

Save the connection in Duaer

Open Credentials and create Xero. Fill in the key, OAuth, or server fields. After you save, digital-organization nodes reference this credential instead of putting the secret in a parameter.

Credential values are protected by the instance encryption key. If you change or lose that key, stored credentials cannot be decrypted. See the hosting notes on encryption keys. The matching node is under the related node.

Who can use this credential

Who can see or edit it follows projects and roles. Do not paste secrets into chat or variables. External vaults are covered under external secrets.

Questions

Do Xero secret values appear in Duaer node parameters?

No. In Duaer, Xero secrets stay in the credential. Nodes only reference the credential. Execution records should not show the plaintext secret either.

What usually stops a Xero credential from saving in Duaer?

Wrong fields, an OAuth callback that does not match the instance URL, or a role that cannot create credentials. Check the fields Xero expects, then confirm you can create credentials in that project.

In this section