Error 403 from Google Calendar? Upgrade to the new Google Calendar support. See here for details. close
Welcome, Guest
Please Login or Register.    Lost Password?

Can't change login for Google cal connection
(1 viewing) (1) Guest
Go to bottomPage: 123
TOPIC: Can't change login for Google cal connection
#20527
Re:Can't change login for Google cal connection 10 Months, 1 Week ago  
Well this is my question.
Are you sure you send the "user" parameter ?

Because i see no pre-fill box, nor login selected (unless the one that is always selected when I try this : maybe the first calendar account created on rainlendar ?)
xdepub
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#20528
Re:Can't change login for Google cal connection 10 Months, 1 Week ago  
Yes. You can see the url in Rainlendar's debug log.
Rainy
Moderator
Posts: 6045
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#20530
Re:Can't change login for Google cal connection 10 Months, 1 Week ago  
AAAAAARgh,
a great post with full of logs exemple of the Google URL thrown away because I can't post links!!!
20mn work lost. And I can't get my post back...

snif !
Preview was working still..
xdepub
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#20531
Re:Can't change login for Google cal connection 10 Months, 1 Week ago  
Well instead I will make it short and only come to the conclusion:

thanks for the informations I went have a look in the log.

the URL sent to Google API in v3 does not include any email or user information.
It looks like this
Code:

https:/ /www. googleapis.com/calendar/v3/users/me/calendarList?key=AIzaSyBhdYdkq-wy-bYoWWYJeKrEc9t6GAZF_wQ&pp=0
The user parameter sent is only : "users/me"

Which leads, as I guess, to either:
* the Google board to select accounts identified on this computer
* The looged account if so (what happens to me eve when i'm not logged any more)

So I guess there IS a trouble where it could be possible to send the email parameter in the URL since it's not right now.
xdepub
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2014/01/17 09:35 By xdepub.
The administrator has disabled public write access.
 
#20533
Re:Can't change login for Google cal connection 10 Months, 1 Week ago  
At that point Rainlendar has already authenticated with Google and is reading your account's calendar list. In normal communication the authentication information which also identifies your account is sent in the http headers instead in the url (and it looks like random bits so you won't see your email in there either).

You can find the url that is used when Rainlendar asks for the permission to access the calendar if you search for "Document loaded:"-text from the log.
Rainy
Moderator
Posts: 6045
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#20534
Re:Can't change login for Google cal connection 10 Months, 1 Week ago  
I Can't find anythong similar to that string in my log.

This is what I have :
The obsolete way :
Code:

[0:00:04.591] Xavier Google: Requesting access token...
 [0:00:04.631] Xdepub's list: Requesting access token...
 [0:00:06.041] Xavier Google-old: Result: (0) 200 OK.
[0:00:06.041] Xavier Google-old: Downloading: https:/ /www. google.com/calendar/feeds/xdepub@yahoo.fr
 [0:00:06.421] Xavier Google-old: Result: (0) 200 OK.
 [0:00:06.421] Xavier Google-old: Downloading: https:/ /www. google.com/calendar/feeds/xdepub%%40yahoo.fr/private/full?max-results=10000&ctz=Etc/GMT


Here we can notice the user mail login "feeds/xdepub@yahoo.fr" which becomes xdepub%%40yahoo.fr

The v3 way :
Code:


[0:00:07.021] Xavier Google: Result: (0) 200 OK.
[0:00:07.021] Xavier Google: Downloading: https://www.googleapis.com/calendar/v3/users/me/calendarList?key=AIzaSyBhdYdkq-wy-bYoWWYJeKrEc9t6GAZF_wQ&pp=0
[0:00:07.472] Xavier Google: Result: (0) 200 OK.
[0:00:07.482] Xavier Google: Downloading: https://www.googleapis.com/calendar/v3/colors?key=AIzaSyBhdYdkq-wy-bYoWWYJeKrEc9t6GAZF_wQ&pp=0
[0:00:07.812] Xavier Google: Result: (0) 200 OK.
[0:00:07.822] Xavier Google: Downloading: https://www.googleapis.com/calendar/v3/calendars/xdepub@yahoo.fr/events?[0:00:08.222] Xdepub's list: Result: (0) 200 OK.


We find the email only at the end, when it has already logged in with the key.

Still, when I create a new calendar Google desn't care at all with my mail. Event if it is "fake@fake.fr". it goes to "user/me" and I can see no trace of "fake@fake.fr" in any log.
xdepub
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2014/01/17 11:38 By xdepub.
The administrator has disabled public write access.
 
Go to topPage: 123
get the latest posts directly to your desktop