You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
drawio should not be logged in to OneDrive yet (i.e. show "choose storage", screenshot 2)
login to OneDrive now, observe login and "Open Existing Diagram" works fine
reload the page
try "Open Existing Diagram", sometimes this does not work (screenshot 4)
reload again
try "Open Existing Diagram", as far as i can tell this reliably does not work (also screenshot 4).
Expected behavior
the "Open Existing Diagrams" button should work reliably.
Screenshots
Screenshot 1:
Screenshot 2:
Screenshot 3:
Screenshot 4:
draw.io version (In the Help->About menu of the draw.io editor):
draw.io version 24.8.4
Desktop
OS: Windows
Browser Firefox 132.0, Edge 130.0.2849.68
I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:
yes.
Additional context
it seems that depending on how to onedrive picker is started, it seems a different set of scopes (also in different format?) is requested and rejected (using developer tools network tab and the "referrer" of the login page because I just can't hit f12 fast enough to get the initial request :D)
Preflight Checklist
Describe the bug
Initial OneDrive login works fine, but internal refresh does not seem to work reliably.
Especially for the "Open Existing Diagram" from initial dialog (Screenshot 1) the authentication seems to be buggy
To Reproduce
Steps to reproduce the behavior:
0. ensure you have set inlinePicker=0, e.g. using https://app.diagrams.net?inlinePicker=0
Expected behavior
the "Open Existing Diagrams" button should work reliably.
Screenshots
Screenshot 1:
Screenshot 2:
Screenshot 3:
Screenshot 4:
draw.io version (In the Help->About menu of the draw.io editor):
Desktop
I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:
Additional context
it seems that depending on how to onedrive picker is started, it seems a different set of scopes (also in different format?) is requested and rejected (using developer tools network tab and the "referrer" of the login page because I just can't hit f12 fast enough to get the initial request :D)
a successful login seems to request these scopes:
profile openid https://graph.microsoft.com/User.Read https://graph.microsoft.com/Files.Read.All
while i see the following scopes during initial login:
user.read files.readwrite.all sites.read.all offline_access
The text was updated successfully, but these errors were encountered: