Cognito User Pool custom attributes do not show up in the ID token if user pool is configured with a SAML identity provider
问题 According to the documentation, the ID token (a JWT token) created by Cognito upon user authentication is also supposed to contain the custom attributes defined for the user's User Pool. It seems that when the User Pool is configured with a SAML identity provider, the ID token does not contain those custom attributes of the user pool, but only the Cognito attributes which are mapped from the SAML token. Note: the custom attribute is already configured when the user pool is created, therefore