Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does the OneDrive js Picker in Edge go back to the redirect URI instead of showing the files?

I have copied the sample code from the OneDrive Picker JS example to my playground site, replaced the clientId with mine, and then when trying it in MS Edge, the new window will open. After signing in, it displays the original page instead of the picker. Why isn't it showing the picker? In all other major browsers (including IE 11) it shows the picker...

I tried toggling the option Allow Implicit Flow in the App registration page but that didn't help.

enter image description here

Update 9/23/2016

I downloaded the sample code to my site, pasted in my clientId and loaded it in Edge - the issue still persists. This leads me to believe it is an issue with the app registration. In the app registration I see that there are options for selecting Microsoft Graph Permissions - both Delegated Permissions and Application Permissions - I tried adding Files.Read and then Files.Read.All but neither improved the situation. Is there another setting in the registration I should configure?

Update 10/3/2016

I noticed the other day that the browser requirement for Edge is version 25+ and I had version 20. I spent a few hours installing non-critical updates to the OS, which updated Edge to version 38. Now when I try the sample code on my playground site I see the new window open, the main window will refresh within a few seconds and after I login in the new window, it stalls on this oauth2 authorize url.

like image 682
Sᴀᴍ Onᴇᴌᴀ Avatar asked Sep 22 '16 17:09

Sᴀᴍ Onᴇᴌᴀ


1 Answers

Turns out it was a Windows 10 network group policy that was blocking this.

like image 172
jeremykenedy Avatar answered Oct 24 '22 23:10

jeremykenedy