Replies: 10 comments 11 replies
-
credentials json -> https://console.cloud.google.com/apis/api/calendar-json.googleapis.com/credentials i cant get token.json, php quickstart tool vanished, there are only javascript page to test aplication - I can log on mine and get events list in google demo but I can't in laravel. |
Beta Was this translation helpful? Give feedback.
-
Hi @sebastiandedeyne and @freekmurze It appears the credentials setup guide is out of date as I'm facing this issue as well. |
Beta Was this translation helpful? Give feedback.
-
@theafolayan do you have a solution in how to get the token json file or the quickstart guide? |
Beta Was this translation helpful? Give feedback.
-
Still no fix... Anyone? |
Beta Was this translation helpful? Give feedback.
-
We have a fix and would be making it open source soon.
Oluwaseun Raphael Oluwaseun
…On Thu, May 18, 2023, 12:21 PM hn3 ***@***.***> wrote:
Still no fix... Anyone?
—
Reply to this email directly, view it on GitHub
<#265 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKRIOXUM5BETP6YBEH566YTXGYA45ANCNFSM6AAAAAAU5BPWEM>
.
You are receiving this because you were mentioned.Message ID:
<spatie/laravel-google-calendar/repo-discussions/265/comments/5938001@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Great, but what does your 'soon' mean? |
Beta Was this translation helpful? Give feedback.
-
I cannot start using this package because of this error. Any ideas? |
Beta Was this translation helpful? Give feedback.
-
If you don't use your own credentials it will assume you are testing and
expire after one hour. Ideally you should create a service account and
provide it's credentials.
…On Mon, Sep 25, 2023, 8:06 AM AIC BV ***@***.***> wrote:
Hi @egvoncannon <https://github.com/egvoncannon>, doesn't this expire
after one hour?
I copy pasted the reply but after a while the playground says that it is
expired.
—
Reply to this email directly, view it on GitHub
<#265 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A27CUNJX74BYMQYDF3LZ6OTX4FXSPANCNFSM6AAAAAAU5BPWEM>
.
You are receiving this because you were mentioned.Message ID:
<spatie/laravel-google-calendar/repo-discussions/265/comments/7100945@
github.com>
--
All email correspondence to and from this address is subject to the North
Carolina Public Records Law, which may result in monitoring and disclosure
to third parties, including law enforcement.
|
Beta Was this translation helpful? Give feedback.
-
Honestly, it has been a while since I worked with the Oauth playground. As
I recall, providing your own credentials is how you stop the token from
expiring after an hour. I am sure others have more, and more recent,
experience with the issue. I posted here in hopes it would help others with
the same issue. Please provide feedback if you solve your issue. Good luck!
…On Wed, Nov 29, 2023 at 4:24 PM Emilio Puljiz ***@***.***> wrote:
Hello, I'm asking you, I was doing a little research, the technique that
you put at the beginning of the comments worked for me, the problem is that
I cannot refresh the token, normally the token expires after 60 minutes,
after that the package does not have a function to refresh, I tried to do
it manually, but it keeps throwing me an error.
Google\Service\Exception
{ "error": "invalid_grant", "error_description": "Token has been expired
or revoked." }
I clarify that everything works fine for me while I use the token that I
generated with the official Google documentation, I log in, I get the
token, I place it in storage/app/google-calendar/oauth-token.json
All this works correctly, what happens to me is that the token expires and
I cannot consult or create more events in the calendar
—
Reply to this email directly, view it on GitHub
<#265 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A27CUNOZMHRSXBFIE5XV7ALYG6RXFAVCNFSM6AAAAAAU5BPWEOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TOMJQGM2DI>
.
You are receiving this because you were mentioned.Message ID:
<spatie/laravel-google-calendar/repo-discussions/265/comments/7710344@
github.com>
--
Eric VonCannon
Technician/Jr. Programmer
Technology Dept.
***@***.***
828-890-1658 ext.16026
--
All email correspondence to and from this address is subject to the North
Carolina Public Records Law, which may result in monitoring and disclosure
to third parties, including law enforcement.
|
Beta Was this translation helpful? Give feedback.
-
I have the same issue... I had to switch from service account to oauth2 and I have realized that php quickstart is no longer available. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I need to authenticate with OAuth2, but it seems that the php quickstart tool link doesn't exists anymore. How can I get the credentials.json and token.json?
Beta Was this translation helpful? Give feedback.
All reactions