Learn how to create OAuth2 based connections via Peaka API.
partner_callback_url
is the full url of your server endpoint responsible to complete creation process. We will use partner_callback_url
at Step 10 and 11.
connection_id
and the location where the user has started the connection.partner_callback_url
:<partner_callback_url>
with query parameters connectionId
and status
. If status
is success
, the connection has been created successfully. Otherwise, if status
is fail
, it indicates a problem, such as a platform error or a timeout in the flow.partner_callback_url
e.g. You give the OAuth app redirect_url
as https://yourdomain.com/oauth2/mycallback
Then you should redirect the request coming to your redirect_url
to https://peaka.studio/oauth2/callback
You can do this redirection in your reverse proxy server (Apache, Nginx, Traefik, etc.) or in your application server (Express in Node.js, Spring in Java, etc.).
Apache (HTTPD)
redirect_url
under “credential” object should be the callback (or redirect) url you give to the Platform OAuth app.
connection_id
and the location where the user has started the connection.redirect_url
will be