Generating the organization code

How we authorize and generating the organization code

**This document explains how a 3rd party get organization code

OPTT allows third-party apps to embed the OPTT dashboard in their application.
For that, we enable the third party to use our token and allow their users to access their dashboard without any additional authorization, meaning that they don't have to use their username and password.


OPTT generates “OPTT_Client_Code” and “OPTT_Secret_Code”, Grant_type for 3rd party, which are unique codes that 3rd party must use for requests.


Now with these codes, you can request to get OPTT tokens in the following two ways:


1- If yourself identify your users.

2- If you use an identity provider to identify your users.