Comments (2)
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.
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.
- used this code https://developers.google.com/calendar/quickstart/go using oauth2 web token method
- enabled calendar api.
- worked with my corp's gsuite team, to setup an admin user profile for me to use delegated to my GCP project.
- used oauth2.0 client id json file (from gcp> api & services > credentials > oauth2.0 client id > downloaded file,
- 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)
- Golang Gmail Api HOT 4
- Logger Error and how to fix it
- Credentials problem HOT 2
- Error 500: Requested Resource Too Large to Return, responseTooLarge
- token expired and refresh token is not set HOT 1
- Unable to parse client secret file to config: oauth2/google: missing redirect URL in the client_credentials.json exit status 1 HOT 2
- Specify sheet in spreadsheets HOT 1
- Getting Unauthorized HOT 1
- sheets.New() is depricated HOT 1
- don't get token
- Unable to view or download the file uploaded using File.get(File id)
- Feature Request: Manage Group members snippets HOT 1
- "No required module provides package" errors
- Dependency Dashboard
- gmail quickstart.go will not retrieve a token HOT 9
- [SyncRepoSettings bot] - Invalid config file
- Add Calendar Snippets
- Quickstart needs OOB update HOT 1
- Googlesheets Quickstart example unreachable in localhost HOT 3
- Error Malformed auth code HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-samples.