Code Monkey home page Code Monkey logo

Comments (4)

githerbert avatar githerbert commented on May 16, 2024

@iamgeef Did you ever get this resolved? I think I am encountering the same issue.

from loaner.

ericwhiteau avatar ericwhiteau commented on May 16, 2024

I installed and ran a demo project in September, successfully.
I deleted the project but left the gSuite components in place.

I have now tried to rebuild the GCP project and deploy. Connecting to the same gSuite configuration.

The backend is working as expected. Recreated the chromebooks in the loan system.
Deployed new oauth keys etc. web_app is working.
Chrome app doesn't think it is registered. (see screen shot)

Logs have the same message as indicated above invalid tokens.

Unable to get authorized scopes. (/base/data/home/apps/f~[[projectID]]/chrome:root-20181205.414461687226952207/external/endpoints_archive/endpoints/users_id_token.py:371)
Traceback (most recent call last):
File "/base/data/home/apps/f~[[projectID]]/chrome:root-20181205.414461687226952207/external/endpoints_archive/endpoints/users_id_token.py", line 369, in _set_bearer_user_vars
authorized_scopes = oauth.get_authorized_scopes(sorted(all_scopes))
File "/base/alloc/tmpfs/dynamic_runtimes/python27g/d22767677e9aa897/python27/python27_lib/versions/1/google/appengine/api/oauth/oauth_api.py", line 172, in get_authorized_scopes
_maybe_call_get_oauth_user(scope)
File "/base/alloc/tmpfs/dynamic_runtimes/python27g/d22767677e9aa897/python27/python27_lib/versions/1/google/appengine/api/oauth/oauth_api.py", line 221, in _maybe_call_get_oauth_user
_maybe_raise_exception()
File "/base/alloc/tmpfs/dynamic_runtimes/python27g/d22767677e9aa897/python27/python27_lib/versions/1/google/appengine/api/oauth/oauth_api.py", line 240, in _maybe_raise_exception
raise InvalidOAuthTokenError(error_detail)
InvalidOAuthTokenError


Device ID and serial number all check out in console logs.

screenshot 2018-12-06 at 15 14 50

from loaner.

ericwhiteau avatar ericwhiteau commented on May 16, 2024

Note: I have rebuilt and redeployed the chrome app with new keys twice. It doesn't seem to be that.
PS: Set logging to be True in shared/config.ts
Not sure I see anything different in stackdriver

from loaner.

ericwhiteau avatar ericwhiteau commented on May 16, 2024

There is also the following warning. But I cant recall if that was there previously.

multistore_file.py:62
The oauth2client.contrib.multistore_file module has been deprecated and will be removed in the next release of oauth2client. Please migrate to multiprocess_file_storage.
request_id: "5c08b5f400ff0d534af1636bae0001667e6469616c6f67677261626e676f0001726f6f742d3230313831323035000100"
timestamp: "2018-12-06T05:39:03.229Z"
location: "/base/data/home/apps/f~[projectID]/root-20181205.414461667803272195/external/oauth2client_archive/oauth2client/contrib/multistore_file.py:62"

from loaner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.