Create new oAuthConfiguration

Creates an OAuth 2.0 configuration to be used by an add-on installed via the eLab Marketplace. You can choose to encrypt the client secret in the database as well with the isEncrypted property. If your eLab installation is also serving as a host for public add-ons you can choose to distribute the OAuth 2.0 configuration when add-ons are synced.

Example:

{
  'sdkPluginID': 123, 
  'description': 'config for my add-on', 
  'authorizationURI': 'https://example.com/authEndpoint',
  'tokenRequestURI': 'https://example.com/tokenRequestEndpoint',
  'refreshURI': 'https://example.com/tokenRefreshEndpoint',
  'clientID': '123456',
  'clientSecret': '123456',
  'isEncrypted': true, 
  'isPublic': true
}```

 
Language
Authorization
Header
Click Try It! to start a request and see the response here!