OAuth 2.0 (Authorization Code with PKCE)
PKCE (RFC 7636) is an extension to the OAuth2.0 Grant Type : Authorization Code flow to prevent CSRF and authorization code injection attacks.
PKCE was originally designed to protect the authorization code flow in mobile apps, but its ability to prevent authorization code injection makes it useful for every type of OAuth client, even web apps that use a client secret.
Redirect URL - Add this Redirect URL (
https://connect.pabbly.com/callback-url ) where you have registered your developer app.
Authorize URL - Specify your app Authorize URL to retrieve the authorization code e.g.
https://www.facebook.com/v10.0/dialog/oauth
Token URL - Specify your app Token URL to exchange the authorization code for an access token e.g.
https://graph.facebook.com/v10.0/oauth/access_token
Client ID - Specify your app Client ID e.g. 868906131
Client Secret - Specify your app's Client Secret e.g. 213017befaedd
Scope - Specify your app scope/permission. You can pass multiple scopes separated either by comma or space as per app requirement e.g. scope1 scope2 scope3 …
Code verifier - A cryptographically random string used to correlate the authorization request to the token request. The code verifier is a cryptographically random string using the characters A-Z, a-z, 0-9, and the punctuation characters -._~ (hyphen, period, underscore, and tilde), between 43 and 128 characters long generated internally in Pabbly Connect.
Code challenge - Once Pabbly Connect has generated the code verifier, it uses that to create the code challenge internally. For devices that can perform a SHA256 hash, the code challenge is a BASE64-URL-encoded string of the SHA256 hash of the code verifier.
Code Challenge Method - Algorithm used to derive code challenge. Generally, applications use SHA-256.
Sent Client Secret On Access Token (optional) - Required if your app auth requires Client Secret for requesting an access token.
Sent Client Credentials On Refresh Token (optional) - Required if your app auth requires Client Credentials for a refreshing access token.
Enable User-Agent (optional) - Required if your app auth requires a user agent.
Client Authentication- Specify a client authentication that your app auth requires.
- Send as basic auth header.
- Send client credentials in the body.
Set App Auth Parameters (optional) - Set app auth parameters if your app auth requires to pass the query or URL parameters e.g. subdomain.
Received App Auth Parameters (optional) - Specify if you need to catch the parameters from access token JSON to use further in API requests e.g.
api_domain.