In the process of upgrading to Sitecore XP 10.3.1 from 10.2 I got this error after deploying our code.

We use a custom identityprovider that has the property set.

1 Answer 1


Took a look in ILSpy and it looks like there's a typo in the property name. It's actually "clearroleswhensingin"

Solution: Change your config patch to


Not the answer you're looking for? Browse other questions tagged or ask your own question.