GETTING STARTED

OAuth Connect Page

7min

Pathfix offers an additional method to display the OAuth Connect buttons. This is especially useful when you do not have the ability to add custom scripts or simply don't want to add additional scripts to your page.

This method will open a new page hosted by Pathfix that will contain all of the Connect buttons to your integrations.

Common Usecases

Add OAuth Connect button in no-code apps and other tools where adding scripts are not allowed, like:

  • Adalo
  • AppSheet, etc.



Setup

The OAuth Connect Page will render the Connect button for all your integrations listed under your application.

  • Go to your Pathfix application and clicking on Setup
  • Click on OAuth Connect Page



Image: setup
Image: setup




  • Copy the generated base url to be used in your app
Image: Get url
Image: Get url




  • Add the url to your app and dynamically insert your Current User's unique ID according to your app (e.g. email, unique id etc.)



Image: Add current user info
Image: Add current user info




Reference



Base URL

HTML




Query Parameters

Make changes to your base url to include and modify the way the page behaves. Here are the query parameters that you can include:

Name

Required

Description

public_key

Required

This is your Pathfix Public Key for your application. When you copy the url, this will be included.

user_id

Required

This is your ID that you associate your user with in your app. This could be email, username, unique ID etc.

providers

Optional

Default - Will list ALL the providers configured in the app





CSV - Provide a comma separated values with the Provider reference names of the providers you want to include in the Connect page. e.g.: googlecalendar,msgraphmail,slack

header

Optional

Provide any text here to replace the main header of the page e.g.: https://labs.pathfix.com/integrate/page?public_key=B2F90514-XXXX-XXXX-XXXX-XXXXXXXXXXXX&user_id=current_user_id&header=Connect Your Accounts

sub_header

Optional

Provide any text here to replace the sub-header of the page e.g.: https://labs.pathfix.com/integrate/page?public_key=B2F90514-XXXX-XXXX-XXXX-XXXXXXXXXXXX&user_id=current_user_id&sub_header=Click to integrate your accounts

style

Optional

Default is list-columns. You can change this to one of the following: - list - list-panel - list-columns







Need help? Reach out to us at [email protected] and we would be happy to assist!