django / djangoproject.com

Source code to djangoproject.com
https://www.djangoproject.com/
BSD 3-Clause "New" or "Revised" License
1.86k stars 938 forks source link

[Bug] Validate Azure access token in Django Rest API and call graph API #1564

Closed shreyanshjain1605 closed 5 days ago

shreyanshjain1605 commented 5 days ago

Hello Team,

Form Angular application using MSAL, I login to azure and receive accessToken. Now to pull data from API I am passing access token as bearer in header of API. Now please let me know how I can validate/authorize this token in backend Django rest api.

Do we have any in built function or module that I need to install and validate? If not please let me know how I can validate/authorize my token and call graph api to get additional information of user.

bmispelon commented 5 days ago

Hi,

This issue tracker is for the djangoproject.com website. For getting help with how to use Django, try the forum, the discord channel, or the mailing list: https://docs.djangoproject.com/en/dev/faq/help/#how-do-i-do-x-why-doesn-t-y-work-where-can-i-go-to-get-help

Have a nice day ✨