website logo
⌘K
GETTING STARTED
Getting started with Pathfix
Introduction
OAuth Connect Page
Custom Redirect Domain
Monitoring Activity
Workspace
Extensions
Security
Notifications
Event Callback
Scopes
Provider reference
Access tokens
SDK's
MIGRATION
Switching Code Base
BUBBLE.IO INTEGRATION
Bubble.io Documentation
ADALO INTEGRATION
Adalo Documentation
Adalo User Authorization
Adalo API Call
DEVELOPER CENTER
Developer center
Pathfix Consent Screen (preview)
Module dependencies
Step-by-Step
General
JavaScript
PROVIDER SETUP DOCS
Integration Setup Docs
Identity Auth
Integrating with Airtable
Integrating with Box
Integrating with Facebook
Integrating with Hubspot
Integrating with GitHub
Integrating with Google Tasks
Integrating with Instagram Graph API
Integrating with LinkedIn
Integrating with Pipedrive
Integrating with Quickbooks
Integrating with Stripe
Integrating with Stripe-Server
Integrating with Slack
Integrating with TikTok
Integrating with Typeform
Integrating with WooCommerce
Integrating with Xero
Integrating with Zoom
Docs powered by
Archbee
DEVELOPER CENTER
...
Libraries
$pinc.oauth

Events

6min
  • consented
  • consentRedirect
  • notConsented
  • revoked
  • integrations

consented

The event fires immediately after your user successfully authorizes with an Integration provider

Example

JS
Tcl
|
$(document).ready(()=>{
	$pinc.events.on("$pinc.oauth","consented",(data)=>{console.log(data)},true);
})

    


Handler Arguments

JS
|
{    
    provider:"providername"
}



notConsented

The event fires if the user starts the OAuth authorization process but does not complete the authorization successfully or closes the window midway.

Example

JS
|
$(document).ready((){
		$pinc.events.on("$pinc.oauth","notConsented",(data)=>{console.log(data)},true);
	})
    



Handler Arguments

JS
|
{    
    provider:"providername"
}



integrations

The event fires after configurations are loaded and the $pinc.oauth component is ready to work with.

Updated 03 Mar 2023
Did this page help you?
PREVIOUS
$pinc.oauth
NEXT
Methods
Docs powered by
Archbee
TABLE OF CONTENTS
consented
notConsented
integrations
Docs powered by
Archbee