Skip to content

changed google API #6

@sohamakl

Description

@sohamakl

Hello Visionect,

it looks like google has changed something on its API. The id_token isn't a standard return value anymore and https://www.googleapis.com/auth/userinfo.email is set to obsolete.

In my case playing around with roombooking end up always with the same error:
#500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
  File "/home/parallels/roombooking/virt/local/lib/python2.7/site-packages/cherrypy/_cprequest.py", line 656, in respond
    response.body = self.handler()
  File "/home/parallels/roombooking/virt/local/lib/python2.7/site-packages/cherrypy/lib/encoding.py", line 188, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/home/parallels/roombooking/virt/local/lib/python2.7/site-packages/cherrypy/_cpdispatch.py", line 34, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "server.py", line 91, in auth
    storage = SqliteStorage(credentials.id_token['id'])
KeyError: 'id'

I don't have enough personal experience to adapt your code to the new requirements and hopefuly ask for some hints our a redesign of the current release.

Cheers - Mark

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions