# Authorization Extension - support for extended group attributes?

**URL:** <https://community.auth0.com/t/authorization-extension-support-for-extended-group-attributes/181506>\
**Category:** Get Help\
**Tags:** google-workspace-enterprise-connection, connections\
**Created:** [February 5, 2025, 4:23pm UTC](https://community.auth0.com/t/authorization-extension-support-for-extended-group-attributes/181506 "2025-02-05T16:23:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sam.hine](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sam.hine/32/70833_2.png) [@sam.hine](https://community.auth0.com/u/sam.hine)\
**Post date:** [February 5, 2025, 4:23pm UTC](https://community.auth0.com/t/authorization-extension-support-for-extended-group-attributes/181506/1 "2025-02-05T16:23:36Z")

</div>

Hey all,

I’m currently leveraging the Authorization Extension alongside a custom action to populate a custom-namespaced `my.domain/groups` claim within my tokens.

This works great! However, I’m sourcing my groups from Google - and would like to use group email rather than group name. The Google Enterprise connector is able to provide groups in a list of JSON objects (`id`, `name`, `email`) or name strings (“extended” vs. “simplified”)

(as a tangent, it is frustrating I can’t just choose email string from this option list!)

If I switch to JSON objects however, the Authorization Extension panics, and requests that the array of groups should be strings (which is annoying, I’m mapping them to strings in a subsequent action anyway, I just need the information propagated so it’s retrievable).

Is there anything I can do to stop the Authorization Extension from validating the groups it’s forwarding? Using emails for my group names would really be preferable!

Thanks,  
Sam.

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [February 5, 2025, 5:20pm UTC](https://community.auth0.com/t/authorization-extension-support-for-extended-group-attributes/181506/3 "2025-02-05T17:20:02Z")

</div>

Hi @sam.hine

Unfortunately, there is no out-of-the-box solution to retrieve the group’s email.

It appears that Google API has an endpoint in order to retrieve the [Groups Object](https://developers.google.com/admin-sdk/directory/reference/rest/v1/groups/get) which you might be able to use for your implementation.

If you have any other questions, feel free to leave a reply!

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 19, 2025, 5:20pm UTC](https://community.auth0.com/t/authorization-extension-support-for-extended-group-attributes/181506/4 "2025-02-19T17:20:19Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
