FreJun API

Ctrl + K
Oauth 2.0 Overview
Calling APIs
Webhooks
FreJun API
Oauth 2.0 Overview

Oauth 2.0 Overview

Provide the details mentioned in the following form to obtain the credentials.
You will be provided with client_id, client_secret once the details are verified and configured.

App creation form - https://forms.gle/sbibJg8txmC1EVco6

  1. Build the authentication URL with the client id provided and send the user to that URL as follows:
    <authorization_endpoint>?client_id=<client_id>
    authorization_endpoint is FreJun’s oauth authorization endpoint and client_id is what you obtained from FreJun

  2. Once the user reaches the FreJun’s authorization page, the user will be prompted to login to FreJun ( if not logged in already ) and will be redirected to a consent page where the user can Accept or Decline

  3. On Accept, the user will be redirected to the callback URL provided while creating the app with code attached as query param as follows:
    <callback_url>?code=<authorization_code>
    Note: authorization_code is valid only for 10 minutes

  4. On Decline, the user will be redirected to the callback URL provided while creating the app with code attached as empty string as follows:
    <callback_url>?code=

The authorization_code obtained will be used to get the access_token and refresh_token by invoking the AccessToken endpoint of FreJun as follows:
<obtain_access_token_endpoint>?code=<authorization_code>

Connecting your application with FreJun using OAuth 2.0
Invalid Date
Prev