I have a Cognito User Pool and have created a SAML Identity Provider, which is mapped to a client app.
I have created a mutable custom attribute and mapped this attribute with SAML Response assertion.
For the first time, when an user logs in with the SAML Identity Provider, I can see the federated user is created and mutable custom attribute is generated with the values from the SAML assertion. However, subsequent logins, if the SAML response attribute value changes, it doesn't update the Cognito user's attribute.
Is there a way to update the Cognito User's attribute based on the SAML assertion?