Google Calendar

37 views
Skip to first unread message

alex

unread,
Jul 7, 2014, 7:28:11 AM7/7/14
to opa...@googlegroups.com
Hi,

Can I use Opauth with Google Calendar service?

I am following this example (withOUT opauth and any php frameworks) in order to try to use Google Calendar service. It works fine.

Now, I switched to CakePHP. 
When I try to set the scope https://www.googleapis.com/auth/calendar
in bootstrap.php it gives me warning
Warning (2): file_get_contents(https://www.googleapis.com/oauth2/v1/userinfo?access_token=THE_VALUE): failed to open stream: 
HTTP request failed! HTTP/1.0 403 Forbidden
 [APP/Plugin/Opauth/Vendor/Opauth/lib/Opauth/OpauthStrategy.php, line 402]

What can be the problem here?

Thanks.
Reply all
Reply to author
Forward
0 new messages