How to retrieve/get callback url value and decode them in Django?

Hi I managed to login via active directory using Azure AD in Django. But I want to get the access token value and retrieve the email value so that I can send out a custom email. How can I achieve that?

Link for setting up ADFS in Django: Installation — django_auth_adfs 1.14.0 documentation

The new user added is MyUser@[something].com in Azure AD.