rooey / chromeos-filesystem-onedrive

This project provides a OneDrive FileSystem mount for ChromeOS
http://onedrivefs.justmichael.uk/
BSD 3-Clause "New" or "Revised" License
36 stars 20 forks source link

Application URL discovery support #21

Open rooey opened 6 years ago

rooey commented 6 years ago

At present, Filesystem for OneDrive only works with MS Hosted services. In order to support additional types of business and education services, we will need to discover the application URL from getDriveData

droz36 commented 6 years ago

are you referring to the webUrl that is returned?

droz36 commented 6 years ago

I think this page, https://www.cardinalsolutions.com/blog/2017/05/microsoft_graph_api , seems to indicate that a separate button and flow will be needed for Azure AD endpoints. Or am I missing something?

rooey commented 6 years ago

are you referring to the webUrl that is returned?

Yes - see this.onedriveclient.getDriveData();

rooey commented 6 years ago

I think this page, https://www.cardinalsolutions.com/blog/2017/05/microsoft_graph_api , seems to indicate that a separate button and flow will be needed for Azure AD endpoints. Or am I missing something?

Graph is used to access OneDrive info - however the endpoint info comes from oauth - we're (now) using 2.0 which supports business and personal - that was the BIG change with OneDrive for Chrome v2

https://developer.microsoft.com/en-us/graph/docs/concepts/auth_overview