---
title: "Discussion on \"Removing someone from an IdP group can leave their local app roles untouched\" | Hashnode"
description: "Discussion on \"Removing someone from an IdP group can leave their local app roles untouched\". Most SaaS apps treat SSO group membership as the source of truth for roles. A nightly or webhook sync maps IdP groups to local roles and writes them onto the user record. Deprovisioning is often incom"
url: "https://hashnode.com/posts/removing-someone-from-an-idp-group-can-leave-their-local-app-roles-untouched/6ad1d865fd64d289e9611ef1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Removing someone from an IdP group can leave their local app roles untouched](https://authbyexample.hashnode.dev/removing-someone-from-an-idp-group-can-leave-their-local-app-roles-untouched?utm_source=hashnode&utm_medium=feed)

Most SaaS apps treat SSO group membership as the source of truth for roles. A nightly or webhook sync maps IdP groups to local roles and writes them onto the user record. Deprovisioning is often incom

Oct 16 · 2 min read · authbyexample.hashnode.dev  
Read the article

-   [#security](https://hashnode.com/tag/security)
-   [#authorization](https://hashnode.com/tag/authorization)
-   [#saas](https://hashnode.com/tag/saas)
-   [#backend](https://hashnode.com/tag/backend)

## Written by

[Auth By Example](https://hashnode.com/@authbyexample)

@authbyexample

  
[View profile](https://hashnode.com/@authbyexample)

Practical lessons on auth, authorization, and access control.

Practical lessons on auth, authorization, and access control.

## Responses 1

Markdown supported · ⌘↵ to post

[StackShortlist](https://hashnode.com/@veristria)

[Oct 16](https://hashnode.com/posts/removing-someone-from-an-idp-group-can-leave-their-local-app-roles-untouched/6ad1d865fd64d289e9611ef1/comment/6ad23a41c5f571ff0c3366e4)

Splitting IdP-managed roles from app-only roles is the detail that makes a full replace safe. Ending sessions tied to the dropped role in the same run is a nice touch, otherwise the old token keeps working until expiry.
