post https://sandbox.onebrick.io/v1/auth/token/
In this step, you can generate ClientId & redirectRef Id through public access token.
Request Parameter
| Key Parameter | Data type | Description | 
|---|---|---|
| public_access_token | String | Public-access-token generated using your clientId and clientSecret | 
| access_token | String | Public-access-token generated using your clientId and clientSecret | 
| userId | String | End-user ID that will be saved in developer's database / Can be empty string ('') | 
| redirectUrl | String | URL of developer's endpoint after end-user completed login process / Can be empty string ('') | 
Response parameters
| Key Parameter | Data type | Description | 
|---|---|---|
| clientId | Integrer | Client's Id in Brick Database | 
| clientName | String | Client's application name | 
| clientFullName | String | Client's registered name | 
| clientEmail | String | Client's registered email | 
| clientAlias | String | Client's application name/Alias | 
| clientImageUrl | String | Client's application logo | 
| clientFavicon | String | Client's favicon | 
| redirectRefId | String | Id stored in Brick Database referring to client's redirect endpoint | 
