Hi @Jakub Pernica ,
When a user resets their password, Azure AD B2C uses a different user flow than the one used for sign-in. Therefore, if you have configured an API connector to be called before including claims in your sign-in user flow, it will not be called during the password reset user flow. This is because the password reset process is a separate flow from the sign-in flow.
To include custom claims during the password reset process, you can use a custom policy instead of a user flow. With a custom policy, you can define the user journey and include API connectors at any step in the journey, including during password reset.
Reference: https://learn.microsoft.com/en-us/azure/active-directory-b2c/add-api-connector?pivots=b2c-user-flow
Hope this will help.
Thanks,
Shweta
Please remember to "Accept Answer" if answer helped you.