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": "",
    "family_name": "",
    "email": "",

I got an approach regarding how to fix this issue.