Posted: 10 Mar 2019 22:30 EDT Last activity: 22 May 2019 8:21 EDT
Connect-Rest OAuth2 with public and private key
I need to configure a connect rest rule with OAuth2 authentication. I have the provider certs which i have imported in the java cacerts. I have my client public and private key which i need to pass for authentication. Could someone let me know where to upload the public and private key. I could only find keystore in the OAuth Provider rule, but how to pass both public and private key?
Did you use the Rest Integration wizard which has steps for OAuth2 setup on the fly or using existing OAuth2 Provider?
You can reference this article which provides examples of how this is done for grant types of client credentials or authorization code. I imagine you won’t need to specify the keys if you follow OAuth2 Provider ruleform for configuring the KeyStore.
From Pega Help - "Select or create a Keystore record that stores the Pega 7 Platform client's private/public key pair that is used by the server to authenticate the client."
Hi, The request form the destination team is that to pass both the public and private key as parameters. Below is the sample curl command with which im able to access the token form the server. But how to pass both public and private key in PEGA.