I have implemented an application to manage AAD B2C accounts using MS Graph. I followed this link and have registered a MS Graph application in my B2C tenant. Right now my implementation uses client credentials provider and I am able to create/modify users.
I am now planning to add a log in page. I have a sign-in/sign-up user flow that uses authorization code flow grant and has Entra ID as an external IDP. My question is, how do I use the token from Entra ID to create a GraphServiceClient? I believe, I am supposed to use authorization code flow provider but I am not exactly sure how the token will fit into the code that’s given in the documentation.