Trying use Azure AD B2C for SSO using generic_oauth and getting vague error when trying to troubleshoot

Probably it is your Azure config issue. Contact your Azure support/doc (maybe UserInfo endpoint | Microsoft Docs).

I don’t understand why you want to use api_url, when refered topic (SSO using Azure AD B2C - #3 by hnnsj) doesn’t configure api_url.