DEVELOPER CENTER
...
Libraries
$pinc.oauth

Events

4min
consented consentredirect notconsented revoked integrations consented the event fires immediately after your user successfully authorizes with an integration provider example $(document) ready(()=>{ 	$pinc events on("$pinc oauth","consented",(data)=>{console log(data)},true); }) handler arguments { 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 $(document) ready((){ 	 $pinc events on("$pinc oauth","notconsented",(data)=>{console log(data)},true); 	}) handler arguments { provider "providername" } integrations the event fires after configurations are loaded and the $pinc oauth component is ready to work with