# How do you map groups from OneLogin to groups defined in Authorization Extension?

**URL:** <https://community.auth0.com/t/how-do-you-map-groups-from-onelogin-to-groups-defined-in-authorization-extension/8631>\
**Category:** Get Help\
**Tags:** authorization-extens, group-mapping\
**Created:** [October 31, 2017, 2:19am UTC](https://community.auth0.com/t/how-do-you-map-groups-from-onelogin-to-groups-defined-in-authorization-extension/8631 "2017-10-31T02:19:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![awsnonprod](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@awsnonprod](https://community.auth0.com/u/awsnonprod)\
**Post date:** [October 31, 2017, 2:19am UTC](https://community.auth0.com/t/how-do-you-map-groups-from-onelogin-to-groups-defined-in-authorization-extension/8631/1 "2017-10-31T02:19:04Z")

</div>

I’m having issues mapping groups in OneLogin to groups defined in Authorization Extension (AE). My user is in group _Bad_ in OneLogin. I configured group mapping for group _Bad Auth0_ in AE to associate with users in group _Bad_ coming through the OneLogin connection. Groups, Roles, Permissions passthrough are all enabled in AE Configurations. I’m able to log in with that OneLogin user via a Single Page Application client used by my app. I can see the user profile, but both the authorization.groups field and the app\_metadata.authorization.groups field are empty.

**Question**

1. How do I know if OneLogin is sending the groups information? Is there a way to debug what OneLogin is sending Auth0 during a login?
2. How does Auth0 map OneLogin groups to AE groups? What field does it use?

---

<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:** [March 2, 2018, 5:57am UTC](https://community.auth0.com/t/how-do-you-map-groups-from-onelogin-to-groups-defined-in-authorization-extension/8631/2 "2018-03-02T05:57:13Z")

</div>


