The API Gateway ships with a number of preregistered sample client applications. For example, the default sample client applications include the following:
| Client ID | Client secret |
|
|
|
|
|
|
| Note | The sample client applications are for demonstration purposes only and should be removed before moving the authorization server into production. |
If you have used the deployOAuthConfig.py
script to deploy the OAuth service, these samples are already imported. For more information on using the deployOAuthConfig.py
script, see Enable OAuth management.
If you did not use the deployOAuthConfig.py
script, the samples are not imported, and you must import them manually into the Client Application Registry. Perform the following steps:
https://localhost:8089
regadmin.$VDISTDIR/samples/scripts/oauth/sampleapps.dat
VDISTDIR
specifies the directory in which API Gateway is installed.sampleapps.dat
file is in plain text format, and does not require a password.
Alternatively, you can use the following script to import the sample client application data without using the Client Application Registry web interface:
$VDISTDIR/samples/scripts/oauth/importSampleData.py
Edit this script to configure your user credentials and file location.