Tried this out the noble PPA this evening, but failed to get the
authentication working. Specifically: following the guide at [1]
everything went smoothly up until the "last part" of executing gcalcli
with the generated client-id.

At this point, gcalcli produced a URL to open. I needed to do this on
another machine as the machine running gcalcli is a headless server with
no GUI installed. I duly opened the URL on a desktop machine,
authenticated as my user, allowed permissions, but then the browser
attempted to navigate to a localhost:8080 URL which obviously failed.
Looking on the headless server I could it had indeed opened up a local
server to receive the request, but this naturally had failed at this
point.

My next attempt I tweaked the redirection URL to point to the headless
server, but the google authentication step then complained this was an
invalid redirection URL (I get the impression it *must* be localhost,
which probably makes sense from a security standpoint).

My last attempt, I tried opening the localhost:8080 URL on the headless
server using elinks, hoping the system might be able to deal with a JS-
less text-only browser, but no. Oh well, I should probably go and read
up on how OAuth is meant to handle headless systems...

[1]: https://github.com/insanum/gcalcli/blob/HEAD/docs/api-auth.md

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

Title:
  gcalcli: uses python3-oauth2client

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcalcli/+bug/2078793/+subscriptions


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

Reply via email to