-
Notifications
You must be signed in to change notification settings - Fork 573
feat: fix large group claim handling in azure id tokens #1995
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Pull Request Test Coverage Report for Build 14550997722Details
💛 - Coveralls |
cstockton
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving since high priority.
I do wonder how many claims end up needing resolved this way? It may be worth having the http request code in an errgroup because depending on latency it might really add up. Being in a func scope would have the additional benefit of more eager defers.
🤖 I have created a release *beep* *boop* --- ## [2.172.0](v2.171.0...v2.172.0) (2025-05-04) ### Features * fix large group claim handling in azure id tokens ([#1995](#1995)) ([2f323fe](2f323fe)) * use `global_user_id` over `sub` for `vercel_marketplace` issuer ([#1990](#1990)) ([f94f97e](f94f97e)) ### Bug Fixes * azure overage claims start with single `_` not two ([#1999](#1999)) ([29f3440](29f3440)) * remove azure claim overage code. ([#2005](#2005)) ([63dce14](63dce14)) * resolving azure overage claim should include `api-version=1.6` query parameter ([#2000](#2000)) ([44890d0](44890d0)) * upgrade godotenv to v1.5.1 to fix multiline file loading ([#1997](#1997)) ([f2af4b2](f2af4b2)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Handles [large `group` claims in Azure ID tokens](https://learn.microsoft.com/en-us/entra/identity-platform/id-token-claims-reference#groups-overage-claim) by fetching them from the ([usually](https://learn.microsoft.com/en-us/graph/api/directoryobject-getmemberobjects?view=graph-rest-1.0&tabs=http)) designated Azure endpoint.
Handles [large `group` claims in Azure ID tokens](https://learn.microsoft.com/en-us/entra/identity-platform/id-token-claims-reference#groups-overage-claim) by fetching them from the ([usually](https://learn.microsoft.com/en-us/graph/api/directoryobject-getmemberobjects?view=graph-rest-1.0&tabs=http)) designated Azure endpoint.
🤖 I have created a release *beep* *boop* --- ## [2.172.0](v2.171.0...v2.172.0) (2025-05-04) ### Features * fix large group claim handling in azure id tokens ([#1995](#1995)) ([2f323fe](2f323fe)) * use `global_user_id` over `sub` for `vercel_marketplace` issuer ([#1990](#1990)) ([f94f97e](f94f97e)) ### Bug Fixes * azure overage claims start with single `_` not two ([#1999](#1999)) ([29f3440](29f3440)) * remove azure claim overage code. ([#2005](#2005)) ([63dce14](63dce14)) * resolving azure overage claim should include `api-version=1.6` query parameter ([#2000](#2000)) ([44890d0](44890d0)) * upgrade godotenv to v1.5.1 to fix multiline file loading ([#1997](#1997)) ([f2af4b2](f2af4b2)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Handles [large `group` claims in Azure ID tokens](https://learn.microsoft.com/en-us/entra/identity-platform/id-token-claims-reference#groups-overage-claim) by fetching them from the ([usually](https://learn.microsoft.com/en-us/graph/api/directoryobject-getmemberobjects?view=graph-rest-1.0&tabs=http)) designated Azure endpoint.
🤖 I have created a release *beep* *boop* --- ## [2.172.0](v2.171.0...v2.172.0) (2025-05-04) ### Features * fix large group claim handling in azure id tokens ([#1995](#1995)) ([2f323fe](2f323fe)) * use `global_user_id` over `sub` for `vercel_marketplace` issuer ([#1990](#1990)) ([f94f97e](f94f97e)) ### Bug Fixes * azure overage claims start with single `_` not two ([#1999](#1999)) ([29f3440](29f3440)) * remove azure claim overage code. ([#2005](#2005)) ([63dce14](63dce14)) * resolving azure overage claim should include `api-version=1.6` query parameter ([#2000](#2000)) ([44890d0](44890d0)) * upgrade godotenv to v1.5.1 to fix multiline file loading ([#1997](#1997)) ([f2af4b2](f2af4b2)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Handles large
groupclaims in Azure ID tokens by fetching them from the (usually) designated Azure endpoint.