google authentication is https://github.com/tdf/libcmis/issues/22 / a
bit more involved. (but I think it should also be fixable by using plain
oauth2 and the same copy-URL-to-Browser and copy-the-result-back
workflow.

Google's docs mention to just listen on a local loopback IP address and get the 
result that way - that is of course also an option to at least avoid copy-back 
into the dialog. But that's a "stretch goal" :-)
Google lists the Manual copy/paste with a hint of "may be discontinued in the 
future" 
https://developers.google.com/identity/protocols/oauth2/native-app


For onedrive it seems that the API was never migrated from the 
old/deprecated/now-non-function live apis to Microsoft graph.
The only "not-so-nice" thing is that we ask the user to copy'n'paste back 
between the browser and the LO dialog, but that's easy enough to do. 
Furthermore we can get rid of the username/pw entry that LO cannot use anyway
(or rather: It (LO/libcmis) should not attempt to imitate a user using the 
browser and try to parse the response of whatever login window appears that is 
augmented with webX.y stuff :-))

Fixing onedrive should be easy enough to do:
* Fix endpoints/scopes to match the Graph scheme
* Fix libcmis to use the new (or rather current) OneDrive REST API (instead of 
the old skydrive one that doesn't work anymore since end of 2018....)
* Fix remote-server dialog to not ask for username and password - 
authentication/login is handled in the user's browser

https://docs.microsoft.com/en-us/onedrive/developer/rest-api/concepts
/migrating-from-live-sdk

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1844453

Title:
  [upstream] Access to the Google remote account does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1844453/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to