xamarin-docs icon indicating copy to clipboard operation
xamarin-docs copied to clipboard

AD B2C and WebAuthenticator

Open Escoto opened this issue 3 years ago • 0 comments

I need some guidance and could be helpful for others...

This is for a MAUI Hybrid App (needles to say, using Blazor).

I managed to get id_token and code (my understanding is code = access token).

Once I have these two guys, how do I query my user's data from Azure B2C? is this even possible?

I did this exercise in AWS Cognito, that was really simple, there is an endpoint and I just send my userid + access token, and that's it.

Trying to replicate this in Azure B2C has proven to be quite challenging. Now I am wondering if it is actually possible to get data for my logged-in user (specific to this one user, using the id_token/access_token I get after authentication).

Thanks for any guidance you can send my way!!

Best, E.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Escoto avatar Aug 17 '22 15:08 Escoto