Partner Authentication Guide
Overview
FieldEdge Partners build public applications and integrations that FieldEdge Members can install from the FieldEdge Marketplace. Partners authenticate through an OAuth-based JWT system managed by the Marketplace and receive a sandbox environment for testing before going live.
Partner authentication differs from Member authentication because:
Apps are installed by FieldEdge Members, not the partner.
Apps must be created in the FieldEdge Marketplace.
The installation flow provides metadata (target_id) that identifies the Member Tenant.
The app must exchange this metadata for an access token after installation.
1. Sandbox & Testing (target_id)
When a partner begins integration work, FieldEdge will provide:
A sandbox environment, and
A sandbox target_id (FieldEdge Tenant ID)
This allows partners to test authentication and API calls before onboarding actual customers. Partners should begin building and validating their integration using the sandbox target_id.
2. Building a Partner App in FieldEdge Marketplace
Partners create their applications in the Marketplace:
Step 1 — Log in to FieldEdge Marketplace
https://dev.marketplace.fieldedge.com
Step 2 — Navigate to Apps
Go to: Apps → Create New OAuth App
Step 3 — Provide App Details
When creating the app, you must enter:
App name
Type
Step 4 — Provide App Details
Go to: Apps → {Your App} -> Basic Info
Install URL (Required)
Contact Email
Install URL Requirements
https://your-install-url.com/?target={customerorg_guid}&target_id={fieldedge-tenant-id}
Where:
target – Marketplace ID of the FieldEdge Marketplace Consumer
target_id – The FieldEdge Tenant ID (used for authentication)
Your app should store the target_id and use it to request access tokens.
Step 4 — Save the App
Once created, the Marketplace will generate:
client_id
client_secret
⚠️ The client secret may only be visible once. Store securely.
These credentials are used by your app during the OAuth client-credentials flow.
3. App Installation Flow
When customers install your application, FieldEdge Marketplace handles the entire installation sequence.
Installation Flow Summary
A FieldEdge customer user installs the app
Marketplace redirects to your app’s Install URL
With metadata:https://your-install-url.com/?target={customerorg_guid}&target_id={fieldedge-tenant-id}Your app exchanges these values for an access token
Using:client_id
client_secret
target_id
Your app completes setup
Store the installation metadata
Link their FieldEdge tenant
Authenticate or configure them
Your app redirects users back to FieldEdge Marketplace (success or error)
4. Partner Token Request (After Installation)
Once the customer installs the app and your install URL receives metadata, your app should request a JWT access token using:
client_id (from Marketplace)
client_secret (from Marketplace)
target_id (installation metadata → FieldEdge Tenant ID)
Token Request
Requesting a JWT Access Token
POST https://dev.marketplace.fieldedge.com/oauth/token
{
"client_id": "<your-client-id>",
"client_secret": "<your-client-secret>",
"target_id": "<fieldedge-tenant-id>",
"grant_type": "client_credentials",
}
Success Response
{
"access_token": "eyJhbGciOiJSUzI1NiIsInR...",
"token_type": "Bearer",
"expires_in": 28000
}
5. Calling FieldEdge APIs
Include the JWT in the header:
Authorization: Bearer <jwt-token>