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.
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 |
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)