Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

putFilAs gives invalid_grant - Invalid JWT Signature #33

Closed
varqasim opened this issue Apr 12, 2018 · 1 comment
Closed

putFilAs gives invalid_grant - Invalid JWT Signature #33

varqasim opened this issue Apr 12, 2018 · 1 comment

Comments

@varqasim
Copy link

varqasim commented Apr 12, 2018

Hi,

First of all thank you for this package. I have been using it for the past couple of months and it has been working properly. The way I have set up the authentication is by add the json file in my storage and referencing it inside the filesystem.php. This is has been working, but since I left the part of uploading images to the cloud for quite a bit of time and now I am testing it again, it gives me the following error whenever I try to save an image.

message
:
"{↵ "error": "invalid_grant",↵ "error_description": "Invalid JWT Signature."↵}↵"
status_code
:
500

I tried to update to the latest version 2.0 hoping that will fix it, but it didn't help. If I dd(Storage::('gcs')) I can actually see the authentication data is actually being passed through. Any idea on what might be the problem? If you need more information, please let me know.

@potatoshrike
Copy link

I had this problem a couple of hours ago. My server time was like... 6 or 7 hours behind the real time so i had to fix it. Verify that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants