Cannot map user group in SAML assertion

Hi there,

I’m testing SAML SSO with auth0, but it seems i cannot map the user groups or roles to SAML assertion attributes, except the below SAML2 settings, what else do i need to configure? Thanks.

Addons → SAML2 → Settings

{
  ...
  "mappings": {
    "given_name": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname",
    "family_name": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname",
    "email": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress",
    "groups":"http://schemas.xmlsoap.org/claims/Group"
  },
  ...
}

I got an approach regarding how to fix this issue.