# How to Configure SAML Authentication Service with Dynamic Access Group Assignment?

**URL:** <https://forums.pega.com/t/how-to-configure-saml-authentication-service-with-dynamic-access-group-assignment/12097>\
**Category:** User Experience\
**Created:** [May 24, 2026, 3:24pm UTC](https://forums.pega.com/t/how-to-configure-saml-authentication-service-with-dynamic-access-group-assignment/12097 "2026-05-24T15:24:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![VVNagaSaiN](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/vvnagasain/32/23160_2.png) [@VVNagaSaiN](https://forums.pega.com/u/VVNagaSaiN)\
**Post date:** [May 24, 2026, 5:32pm UTC](https://forums.pega.com/t/how-to-configure-saml-authentication-service-with-dynamic-access-group-assignment/12097/2 "2026-05-24T17:32:15Z")

</div>

Hello @HalynaK2 ,

You can use OOTB SAML2.0 Authentication Service. In the configuration, you can configure a Post Authentication Activity and write the logic to assign access group(s) dynamically based on the data received from IdP.

In Constellation, the best practice is to provide your user with a unique Persona (Access Group) for each of their applications. There is also no option to switch between multiple access groups/portals for each application as of now from end user portals. You can only switch across different applications. You can find more details about this in the below article by @MarcCheong

[Switching portals and access groups in Constellation](https://forums.pega.com/t/switching-portals-and-access-groups-in-constellation/9233)

---

_[View the full topic](https://forums.pega.com/t/how-to-configure-saml-authentication-service-with-dynamic-access-group-assignment/12097)._
