Question
6
Replies
674
Views
Posted: March 10, 2019
Last activity: May 22, 2019
Closed
Connect-Rest OAuth2 with public and private key
Hi All,
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?
Thanks,
Aruldevan
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."