This repository was archived by the owner on May 22, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 638
This repository was archived by the owner on May 22, 2025. It is now read-only.
Google Auth timeout error #196
Copy link
Copy link
Open
Description
In my strapi dashboard:
my google provoder settings are:
The redirect URL to your front-end app: http://localhost:3000/connect/google/redirect]
The redirect URL to add in your google application configurations: http://localhost:1337/api/connect/google/callback
In my google console dashboard:
my settings are:
Authorized JavaScript origins:
http://localhost:3000
http://localhost:1337
Authorized redirect URIs:
http://localhost:3000/api/auth/callback/google
http://localhost:1337/api/connect/google/callback
However, when I ran the example:
This is curl:
curl 'http://localhost:1337/api/auth/google/callback?error=request-compose%3A%20timeout' \
-H 'Accept: */*' \
-H 'Accept-Language: zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7' \
-H 'Connection: keep-alive' \
-H 'Origin: http://localhost:3000' \
-H 'Referer: http://localhost:3000/' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-site' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36' \
-H 'sec-ch-ua: "Google Chrome";v="135", "Not-A.Brand";v="8", "Chromium";v="135"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"'This is error response:
{
"data": null,
"error": {
"status": 400,
"name": "ApplicationError",
"message": "No access_token.",
"details": {}
}
}Actually, it already processed to the user chosen stage, after I chose my google user, it threw this above.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels