Adding roles to SAML response

Hi everyone,

Trying to get the SAML working but cant seem to be able to configure roles that are configured through Auth0 UI to show up in SAML response, settings in “Addon: SAML2 Web App” are mostly default, see below:

“mappings”: {
“user_id”: “”,
“email”: “”,
“name”: “”,
“given_name”: “”,
“family_name”: “”,
“upn”: “”,
“groups”: “”,
“roles”: “
“createUpnClaim”: true,
“passthroughClaimsWithNoMapping”: false,
“mapUnknownClaimsAsIs”: true,
“mapIdentities”: true,
“signatureAlgorithm”: “rsa-sha1”,
“digestAlgorithm”: “sha1”,
“destination”: “https://…”,
“lifetimeInSeconds”: 3600,
“signResponse”: false,
“typedAttributes”: true,
“includeAttributeNameFormat”: true,
“nameIdentifierFormat”: “urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified”,
“nameIdentifierProbes”: [”,”,
“authnContextClassRef”: “urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified”,
“logout”: {
“callback”: “…”,
“slo_enabled”: true
“binding”: “urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST”

I’m sure the solution is super simple but I just can’t seem to get it working.
Any help appreciated :slight_smile: