PX Policy function OAuth 2.0 Client Credentials and the OAuth access token
search cancel

PX Policy function OAuth 2.0 Client Credentials and the OAuth access token

book

Article ID: 388964

calendar_today

Updated On:

Products

CA Identity Suite

Issue/Introduction

I want to retrieve the access token, store it in a variable, and use it later in the policy processing. How can I accomplish this using the "OAuth 2.0 Client Credentials" function in PX policy?

Environment

Identity Manager v14.5.x

Resolution

The "OAuth 2.0 Client Credentials" function in XX Policy is designed to fetch data via a REST API call, not to retrieve the access token.

This function performs a REST call using OAuth 2.0 Client Credentials authentication. 

It is not possible to directly retrieve the access token and store it in a variable or data element. Please note that the access token is managed internally by the Identity Manager.