To publish, list, or delete a standalone Constellation DX
component, you require credentials to access the resources on the Pega Platform™ Server.
Before you begin:
- Ensure that the
Allow rule check outaccess setting under the Security tab has been added to the operator record used for authentication and publication. - Ensure you have a valid operator ID in your Pega Platform development instance that you can use to log in to your Pega applications.
- Ensure you are using Pega Platform 8.7 or a later version.
NOTE:
- After completing the authentication, you must reauthenticate yourself after
the default timeout of 15 minutes. You can change the timeout period by
editing the REST API Auth 2.0 Client registration record.
The record contains a
clientIDthat matches the configuration contained in the tasks.config.json file of each component. - Constellation DX components require you to use the OAuth 2.0 authentication protocol.
- If you do not want to use the provided client credentials, you can create
your own client credentials. If you use a different OAuth 2.0 authentication
flow in the client credentials, you must update your
tasks.config.json file accordingly. For more
information on the various configuration options for the
tasks.config.json file, see server-config. The relevant attributes in the
server-configsection areclientId,clientSecret,grantType, andauthService(if you need to integrate Constellation DX Component Builder with your SSO setup). For more information on setting up alternative authentication schemes that can be used with Constellation DX Component Builder, see OAuth 2.0 client registrations.
