part 2 - Issue with Azure AD B2C Custom Policy: "Basic credentials specified for 'REST-fetchUserProfile-APAC' are invalid
i have already posted the original problem in detail in this post: https://learn.microsoft.com/en-us/answers/questions/2145431/issue-with-azure-ad-b2c-custom-policy-basic-creden?comment=question#newest-question-comment
you can see the profiles ive pasted there for rest-loginnoninteractive-apac, and rest-fetchuserprofile-apac. the est-loginnoninteractive-apac profile outputs a bearer token while the rest-fetchuserprofile-apac uses that bearer token.
The person who responses, @Sanoop M , suggested using api connectors but the response didnt make sense to me at all. where would i use the api connectpr? in the rest-fetchuserprofile-apac profile? but then wouldnt the authentication type have to change to basic? that doesnt make sense becuase right now its using the bearer as authentication type. im very confused and have made no progress ont his front please help out. everything is detailed in the link ive posted where i already posted the question. again my b2c app registratio in my apac tenant, the correct client id is already pasted in inputclaim section of rest-loginnoninteractive-apac profile. also, the app registraton in portal has user.readwrite.all and dreictory.readwrite.all, and has allow pubic client flows under authneti ation checkmarked to yes just inc ase i need that in case of ropc. please give me the right answer for this !!!!