@Muhammad Usman shaikh
Thank you for the post and I apologize the delayed response!
Based off a document I found - Use API connectors to customize and extend sign-up user flows, it does look like the "After signing in with an identity provider" section mentions, "This step is not invoked if a user is registering with a local account". However, I believe this is referring to the API connector in the sign-up process getting invoked immediately after the user authenticates with an identity provider.
If you have any other questions or if this isn't the doc you followed/are referring to, please let me know.
Thank you for your time and patience throughout this issue.
----------
Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.