website logo
HomeAutomationLogin
⌘K
BUBBLE SETUP DOCS
Introduction
Pathfix and Bubble Setup
Custom OAuth Button
Capturing User Consent
Multiple Connection Auth
Custom Redirect Domain
Provider reference
Pathfix keys
Error codes
Provider Setup Docs
NO CODE PLUGINS
No-code Plugins
Pathfix OAuth Connector
Single Sign-on (SSO) Login
Facebook Connector
Google Calendar Integration
Google Mail Integration
Instagram Integration
LinkedIn Integration
Microsoft Calendar Integration
Mailchimp Integration
Quickbooks Integration
Slack Integration
Spotify Search Integration
Twilio Integration
Twitter Integration
Twitter V2 Integration
Xero Integration
Whitelabel Your Connectors
Docs powered by archbee 
8min

Pathfix keys

Pathfix allows you to authorize your users and access the data on their behalf. For this purpose, there are 2 types of Keys provided and referenced by Pathfix:

  1. Public Key
  2. Private Key
  3. x-partner-key



Public Key

The public key is provided by Pathfix to associate each application with the configured integrations.

This is the application identifier in Pathfix that allows us to identify which application to check for the integration settings within Pathfix.

  • Click on Keys on the left nav bar
  • Click-to-copy the Public Key



Image: Public Key
Image: Public Key






Private Key

There are times when you will need extra layer of security while accessing this data. This is where the Pathfix Private Key comes into play.

The private_key is also application based and is an added layer of protection that you can apply to your calls to the provider. This can be found in the Keys section



Image: Private Key
Image: Private Key




Using the Private Key

Simply include the private_key in the query string parameter, like so:

https://labs.pathfix.com/oauth/method/[provider]/call?public_key=[pathfix public key]&userId=[your app user id]&private_key=[pathfix private key]



When to use the Private Key

Use the private key when additional security is required. These are some scenarios where you can include it:

  • When testing API calls in Postman
  • When using server-to-server calls
  • When you get an error - IP Blocked

You can choose to include the private_key by default to all your calls.



When NOT to use the Private Key

DO NOT use the Private Key when making calls to Pathfix API using JavaScript client code. See more on security setting for Pathfix atJavaScript Origins firewalland IP firewall



x-partner-key

When using the pre-built plugins for Bubble.io you will be asked for the x-partner-key

This can be found in the Keys section



Image: x-partner-key
Image: x-partner-key








Need additional help? Reach out to us at support@pathfix.com

Updated 03 Mar 2023
Did this page help you?
Yes
No
UP NEXT
Error codes
Docs powered by archbee 
TABLE OF CONTENTS
Public Key
Private Key
Using the Private Key
When to use the Private Key
When NOT to use the Private Key
x-partner-key