User Roles in Azure AD B2C and Azure AD

Jamal Ashraf 31 Reputation points
2022-09-01T19:18:20.23+00:00

Dear All,
I am using Azure AD B2C for authentication purposes in my react and graphQL (Api).But now i have some doubts, Please help me as i am student.

My first doubt is that how can i add authorization in Azure AD B2C Please share some code sample?
My second doubt is that should i only use Azure AD for this authentication and authorization purpose or Azure AD B2C is better and may be cheap?
My third doubt is that is it possible that both Azure AD and Azure AD B2C can work together from existing user role sign in sign up and then i can use roles from token because it automatically attaches user roles in Azure AD?
My last doubt is that please recomment me how can i apply authorization and authentication on MS Azure (REACT - NODEJS(GraphQL) what is the best practice in this regard as i want to do both authentication and authorization in a possible cheapest way(price)?

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
13,500 questions
Azure Active Directory External Identities
{count} votes