Closed avorobjovs closed 5 years ago
@avorobjovs Did you set up everything according to what is recommended in Properties Specific to UWP?
@jennyf19 I set up everything according to this documentation. I also tried to change the UseCorporateNetwork in the PlatformParameters to FALSE. But the result is the same.
Only the redirectUri for my app is not the callback URI for windows store applications. Because we use the same settings in the Azure portal for an authorization from UWP, Xamarin.iOS, Xamarin.Android and other apps. How is it important for ADAL authorization? Should we mandatory set the callback URI for windows store applications in the Azure portal?
Hi,
I have a UWP application and need to authorize with Azure AD.
I use ADAL v 3.19.6. But I have the AdalServiceException "User canceled authentication" every time when I try to call the AcquireTokenAsync. Authentication popup is not opening at all, but the exception is thrown after half a second. I tried to rollback the ADAL to version 3.17.3, but the result is the same.
My Windows version: Windows 10 Version 1709 (OS Build 16299.431)
My UWP application: Target version: Windows 10 Fall Creator Update (10.0; Build 16299) Min version: Windows 10 November Update (10.0; Build 10586) Microsoft.NETCore.UniversalWindowsPlatform: Version 6.1.5 Microsoft.IdentityModel.Clients.ActiveDirectory: Version 3.19.6
There is my code:
There is the LoggerCallbackHandler log:
There is a Fiddler log: