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
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 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 
4min

Pathfix Consent Screen (preview)

The JavaScript OAuth libraries takes care of passing the relevant parameters to the consent screen internally but if you do choose to control the consent screen.



1. Invocation through code

URL: https://labs.pathfix.com/integrate/command

Querystring parameters

Param Name

Description

provider

Name of the provider from the Provider reference

public_key

Your Pathfix public_key Pathfix keys

user_id

leave empty if using an identity provider, else use the user_id for whom this is being done



2. Controlling post authorization action



Additional querystring parameters to redirect to a specified url post consent

Param Name

Description

consented_redirect

valid url

consented_action

redirect

Note: The page will be redirected to, like so: consented_redirect?provider=...&oauthId=...



Additional querystring parameters to get a message on the opening window

Param Name

Description

consented_redirect

the window opener url

consented_action

postmessage

Note: The postmessage will send the data like so: window.postMessage({provider:...,oauthId:...},"origin")



Additional querystring parameters to post details of authorization to another url without redirect

Param Name

Description

consented_redirect

the url endpoint to post to

consented_action

post



Additional querystring parameters to get a message in your Android or iOS app

Param Name

Description

consented_action

postwebkitmessage

Note:

  • The postmessage will send the data like so: window.webkit.messageHandlers.pathfix.postMessage({provider:...,oauthId:...})
  • Ensure that the name of the messagehandler defined in your native app is "pathfix" (all in lowercase)



Updated 27 Jul 2022
Did this page help you?
Yes
No
UP NEXT
Module dependencies
Docs powered by archbee 
TABLE OF CONTENTS
1. Invocation through code
2. Controlling post authorization action