Quantcast
Channel: Azure Active Directory forum
Viewing all articles
Browse latest Browse all 16000

Using AAD authentication on pure JavaScript Windows 8.1 app

$
0
0

Is there any example of using AAD authentication on pure JavaScript Windows 8.1 app?

I'm trying to use this method: Windows.Security.Authentication.Web.WebAuthenticationBroker.‌​authenticateAsync(op‌​tion, startUrl, endUrl) to perform the login. This method will basically create a popup to allow user to log in. I'm able to type in my credentials. But then after signing in, it shows "Can't connect to the service". I am guessing that it's the redirect uri issue(starting with "ms-app://s-1-"). I tried to replace it with a website and open the startUrl from the browser and it works fine. Any knows how to handle the redirectUri of windows app? 



Viewing all articles
Browse latest Browse all 16000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>