# How can we pass the client id and secret values dynamically by using pages and classes?

**URL:** <https://forums.pega.com/t/how-can-we-pass-the-client-id-and-secret-values-dynamically-by-using-pages-and-classes/13197>\
**Category:** General\
**Tags:** user-experience\
**Created:** [August 18, 2026, 10:46am UTC](https://forums.pega.com/t/how-can-we-pass-the-client-id-and-secret-values-dynamically-by-using-pages-and-classes/13197 "2026-08-18T10:46:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TanyaS58](https://avatars.discourse-cdn.com/v4/letter/t/b487fb/32.png) [@TanyaS58](https://forums.pega.com/u/TanyaS58)\
**Post date:** [August 18, 2026, 10:46am UTC](https://forums.pega.com/t/how-can-we-pass-the-client-id-and-secret-values-dynamically-by-using-pages-and-classes/13197/1 "2026-08-18T10:46:10Z")

</div>

How can we pass the client id and secret values dynamically by using pages and classes?This was asked in a client round and this was the guidance suggested by the panelist. However can someone tell me the approach to configure this.

---

<div class="post-metadata">

**Author:** ![RameshSangili](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/rameshsangili/32/23377_2.png) [@RameshSangili](https://forums.pega.com/u/RameshSangili)\
**Post date:** [August 18, 2026, 1:55pm UTC](https://forums.pega.com/t/how-can-we-pass-the-client-id-and-secret-values-dynamically-by-using-pages-and-classes/13197/2 "2026-08-18T13:55:37Z")

</div>

Intent of Page and Classes is different. Use Application Settings to dynamically fetch the Client ID and secret for each environment.

---

<div class="post-metadata">

**Author:** ![TanyaS58](https://avatars.discourse-cdn.com/v4/letter/t/b487fb/32.png) [@TanyaS58](https://forums.pega.com/u/TanyaS58)\
**Post date:** [August 18, 2026, 3:44pm UTC](https://forums.pega.com/t/how-can-we-pass-the-client-id-and-secret-values-dynamically-by-using-pages-and-classes/13197/3 "2026-08-18T15:44:32Z")

</div>

Hi @RameshSangili even my approach was towards application settings but interviewer had a different point of view,thanks for your solution.
