Earlybyte / aad_oauth

Flutter Azure Active Directory OAuth Package
https://pub.dev/packages/aad_oauth
MIT License
92 stars 186 forks source link

Request to expose getAccount() from msalv2.js in AadOAuth #311

Closed matsvw closed 3 months ago

matsvw commented 7 months ago

Getting userinfo from Azure B2C is not very straight forward, and at least in my case the information I am looking for is already available in the object returned by GetAccount() in msalv2.js (same data can also be seen in the Local Storage of the browser). Ift would be great if this method could be called from AadOAuth. Converting the account object to a Map would be good enough at least for me.

For web usage I hacked this myself, but I do not feel comfortable contributing to the repository as I am not sure how to implement this for other platforms.

github-actions[bot] commented 5 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If you still think this issue is needed, reopen it again.

github-actions[bot] commented 3 months ago

false