Changelog

Preserving Multi-Attribute Values in Raw Attributes

September 30, 2022

Today we’re releasing a fix in how we process SAML responses, which include `Attributes` with multiple child `AttributeValue` tags. Previously, only the first `AttributeValue` would be preserved in `raw_attributes`. With this change, we are adding support for array-type values in raw attributes, which allows all the values to now be preserved and surfaced in `raw_attributes`.

This change also surfaces some common `Attribute`’s values as an array even if there is only one such child `AttributeValue`.

It is important for you to check the type of a raw attribute before processing it, as some values will now be of type array.

Before:

{
  "raw_attributes": {
    "firstName": "Summer",
    "lastName": "Smith",
    "groups": "Engineering"
  }
}

After:

{
  "raw_attributes": {
    "firstName": "Summer",
    "lastName": "Smith",
    "groups": ["Engineering", "Security"]
  }
}

This site uses cookies to improve your experience. Please accept the use of cookies on this site. You can review our cookie policy here and our privacy policy here. If you choose to refuse, functionality of this site will be limited.