LanceMcCarthy / MvpApi

An application for Microsoft MVPs to easily browse and upload contributions
MIT License
36 stars 10 forks source link

Switch MSAL #54

Closed LanceMcCarthy closed 5 years ago

LanceMcCarthy commented 5 years ago

Switch from using WebView and manual URL token parsing to the MSAL https://github.com/AzureAD/microsoft-authentication-library-for-dotnet

LanceMcCarthy commented 5 years ago

This is not possible at this time. The Live SDK access token returned by the Azure v2.0 endpoint is not accept by the MVP API.

Instead I rewrote the existing login system into a lightweight ContentDialog that will automatically log you in, or show simple overlay (that looks exactly like the MSAL's dialog. This was first completed in https://github.com/LanceMcCarthy/MvpApi/commit/d7ce726f903f28cdae7e6bf44ec05e4409ca8495

This is available in the Store now starting with v1.8.