SAML Custom Attribute Mapping

I’m having the same problem but with auth0 as a SP and as an IDP. I can see that the attribute has been added to the user in raw_json, but can’t access it in the onExecutePostLogin which means I can’t add it it to app_metadata nor user_metadata.

p-tal is the SAML attribute:

The enterprise config maps it like this:

My auth0 IDP maps the attribute like this:

1 Like