question

PaulLee-2939 avatar image
0 Votes"
PaulLee-2939 asked sikumars commented

Obtaining access token from the Microsoft Identity Azure example

Hi,

How do I get the access token from the Azure MS Identity example (ms-identity-python-webapp?

I am also trying to follow this tutorial (https://journeyofthegeek.com/2020/06/22/python-sample-web-app-and-api-for-azure-ad-b2c/) to setup a web app and web api using Azure AD B2C but I don't seem to be able to obtain the access token in this example. The difference in the second example it uses scopes than Microsoft Graph.

Regards
Paul


azure-ad-b2c
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

PaulLee-2939 avatar image
1 Vote"
PaulLee-2939 answered sikumars commented

I am going to use this example. ms-identity-python-on-behalf-of. This seems to have what I am looking for. Once I get this running, I will make some changes to the b2c example.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Appreciate for sharing your findings here. Please "Accept your answer" above, this would help us and others in the community as well.

0 Votes 0 ·