Robbi
unread,Jul 6, 2021, 5:43:12 PM7/6/21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium Extensions, Robbi, Erek Speed, Chromium Extensions
Well,
I read the article with attention (which would seem centered on the server-2-server exchange, which is not my case).
It was very helpful to me anyway.
Now I was able to generate the access token along with the refresh token.
I solved the grant issue
synchronizing the PC clock (I wouldn't have staked a cent on it!).
Now I wanted to do a simple thing like get the information of an already published extension.
Here the documentation is objectively quite a bit messed up.
In fact, the cUrl command
syntax for getting the object is not described.
it is describes the GET command for "Checking the upload status of an item".
Assuming the syntax could be adaptable...
This is the command I run on DOS shell:
And this is the error message I got
{
"error": {
"code": 403,
"message": "Forbidden",
"errors": [
{
"message": "Forbidden",
"domain": "global",
"reason": "forbidden"
}
]
}
}
I've also tried the same commad with the refresh token and the error messsge this time is been:
{
"error": {
"code": 401,
"message": "Request had invalid authentication credentials. Expected
OAuth 2 access token, login cookie or other valid authentication
credential. See
https://developers.google.com/identity/sign-in/web/devconsole-project.",
"errors": [
{
"message": "Invalid Credentials",
"domain": "global",
"reason": "authError",
"location": "Authorization",
"locationType": "header"
}
],
"status": "UNAUTHENTICATED"
}
}
In short, I can no longer go on.
if anyone has any notes to pass to me I would be very grateful.