REST OAuth1 Account
This page is no longer maintained (Nov 12, 2025). For the most current information, go tohttps://docs.snaplogic.com/snaps/snaps-core/sp-rest/acc-rest-oauth1.html.
In this article
Overview
You can use this account type to connect REST Snaps with data sources that use OAuth1 accounts.
Prerequisites
None.
Limitations
This account currently works only with Xero API.
Account Settings
To create your REST OAuth1 account in SnapLogic, you must provide at least your Client ID, Client secret, Request Token Endpoint, Access Token Endpoint, and Authorize Endpoint, and click Authorize.
On authorization, SnapLogic places a call-back to the concerned application API. On validation of the details you have entered, the target application grants access to the API and generates the required OAuth token and secret key.
The App Details page for the instance appears.In the App Details page, enter the following details:
In App name, enter the name of the app.
In Company or Application Url, enter the URL of the application to which you want access.
In OAuth1.0a Callback Domain, enter the callback domain for your account. For example: "https://elastic.snaplogic.com/api/1/rest/admin/oauth2callback/rest"
Click Save.
On validation of the details, a page appears requesting access to your data. Click Allow access for 30 minutes to enable the account to access your data for the specified period of time.
Once you grant access, the OAuth Token and OAuth Token Secret fields in the Create Account popup are auto-populated, and your account is ready.
When you start configuring a REST Snap, you must provide the Service URL associated with the data that you want. You can get the URL associated with the data from the application to which you want to connect.
For example, in Xero you can retrieve the service URLs you need by selecting the Endpoint you need from the Xero Developer Platform:
SnapLogic sends your account details to the OAuth1 endpoint specified and populates the Access token, Refresh token, and Access token expiration fields using the details received from that endpoint.
Troubleshooting
Error | Reason | Resolution |
|---|---|---|
One or more required field is blank | You click Authorize in the account dialog window, but one or more of the following fields is blank:
| Insert valid details into the following fields and click Authorize.
|
You attempted to authorize your account, but authorization failed. Thus, the following fields are empty:
You still click Apply. |