Giter VIP home page Giter VIP logo

Comments (2)

sqrrrl avatar sqrrrl commented on July 19, 2024

That scope does not do what you're trying to accomplish. It only grants the application full access to the calendar of the authorizing user. It does not, however, grant any additional access to other user's calendars. There isn't any scope that does that. Instead, you need to acquire access tokens to act on behalf of those other users.

I'm curious what information did you read that implied you'd be able to read other user's private events in detail? Just want to make sure docs aren't misleading here.

from go-samples.

jliukai avatar jliukai commented on July 19, 2024

you are right, https://developers.google.com/calendar/quickstart/go doesnt mention anything about access to other users.

Problem Solved:
needed to signout and sign back into to my work's gmail. power cycling the laptop didnt work. deleting the token.json didnt work.

setup FYI.

  1. used this code https://developers.google.com/calendar/quickstart/go using oauth2 web token method
  2. enabled calendar api.
  3. worked with my corp's gsuite team, to setup an admin user profile for me to use delegated to my GCP project.
  4. used oauth2.0 client id json file (from gcp> api & services > credentials > oauth2.0 client id > downloaded file,
  5. log out and log back into Google Services.
    and now i have read access other's private calendar meta data(no content) within my corp domain.

from go-samples.

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.