Configure a Non-Interactive Worker Application
This activity shows you how to create non-interactive worker application, configure its connection settings, get the application secret, and configure a token request.
|
Worker applications are administrator applications that interact with the PingOne platform APIs. This application type supports only the |
The following operations are supported by the PingOne APIs:
-
Create an application
-
Get the application secret
-
Initiate a token request
Best practices for application secrets
-
Do not store an application secret in applications that are publicly available.
-
For security purposes, regenerate application secrets regularly (refer to Update the application secret).
-
If you suspect an application secret has been compromised, generate a new application secret immediately.
Prerequisites
Get an access token from the worker application that you created in Create an admin Worker app connection. To get a token from a different worker application in an alternate sandbox environment, run the token request endpoint using the client ID and client secret of your chosen worker app to authenticate the request. For more information, refer to Get a PingOne admin access token.
Workflow order of operations
To configure a non-interactive worker application and initiate a token request, the following tasks must be completed successfully:
-
Make a
POSTrequest to/environments/{{envID}}/applicationsto add a new application to the specified environment. -
Make a
GETrequest to/environments/{{envID}}/applications/{{appID}}/secretto return the application secret. -
Make a
POSTrequest to/{{envID}}/as/tokento get an access token.
Click the Run in Postman button below to fork, or download and import, the Postman collection for this workflow to your workspace.