Hello @Asmaa Essa , both Microsoft Entra ID (formerly Azure AD) and Azure AD B2C use Open ID Connect for authentication and OAuth2 for authorization. The former protocol is used to acquire an ID token, the latter an access token.
Let us know if you need additional assistance. If the answer was helpful, please accept it and rate it so that others facing a similar issue can easily find a solution.