Custom User Attributes are not working in Azure AD B2C self-service reset password
In our Azure AD B2C sign-in flow, where we have enabled self-service password reset, we use a custom user attribute that calls a webhook via an API connector. This API connector returns the required fields and adds them to the token claims, which works perfectly in the sign-in flow.
However, in the password reset flow triggered from the 'Forgot Password' link, after the user successfully creates a new password and is redirected back to the site, the custom user attributes are missing. It appears that the API connector is not working during the password reset flow.
What should I do? Is there anything wrong with my Angular code?