how to get user profile with azure ad in flutter

381

Not familiar with Flutter but to get the information about a user, you will need to use Microsoft Graph API.

I searched for Microsoft Graph using this link: https://pub.dev/packages?q=microsoft+graph and it showed me some packages. Hopefully you should be able to pick the right package.

Share:
381
Ananthakrishna
Author by

Ananthakrishna

Intend to build a career with leading with leading co-operate of high-tech environment with committed and dedicated people. And also i like to learn new technologies and contributing my part in it.

Updated on December 02, 2022

Comments

  • Ananthakrishna
    Ananthakrishna over 1 year

    how can I retrieve current user profile from an azure ad in flutter mobile app I have used this flutter package and followed the example(not b2c). I can only retrieve the Access Token but not the user data like email and user names.

    Is there anyone who got this?

  • Ananthakrishna
    Ananthakrishna almost 3 years
    I have used one msgraph and passed access token in it. It returns cordinated values
  • Gaurav Mantri
    Gaurav Mantri almost 3 years
    What do you mean by coordinated values? Please edit your question and provide more details.
  • Ananthakrishna
    Ananthakrishna almost 3 years
    I got it, I used graph api not any flutter packages thanks for the help though