Question

How can i pass Dynamic values in Authentication profile (ClintID and Secret)
We are currently working on an OAuth 2.0 authentication profile in Pega and need to dynamically pass the client ID and secret. We have stored the client ID and secret in a data page (e.g., D_AuthDetails.clientid
and D_AuthDetails.Secret
). However, when we try to pass these values using pages and classes (e.g., D_page.client_id
and D_page.client_secret
), it is taking static values instead of the dynamic ones.
Could you please advise on the best approach to retrieve these values from the data page and pass them dynamically in the authentication profile?
Thanks for advance