How to pass access_token of google provider in graphql login mutation

curl 'http://localhost:1337/graphql' \
  -H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \
  -H 'Connection: keep-alive' \
  -H 'Origin: http://localhost:1337' \
  -H 'Sec-Fetch-Dest: empty' \
  -H 'Sec-Fetch-Mode: cors' \
  -H 'Sec-Fetch-Site: same-origin' \
  -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36' \
  -H 'accept: */*' \
  -H 'content-type: application/json' \
  -H 'sec-ch-ua: "Google Chrome";v="105", "Not)A;Brand";v="8", "Chromium";v="105"' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'sec-ch-ua-platform: "Linux"' \
  --data-raw '{"operationName":null,"variables":{},"query":"mutation {\n  login(input: {identifier: \"\", password: \"\", provider: \"google\"}) {\n    user {\n      username\n      email\n      confirmed\n    }\n    jwt\n  }\n}\n"}' \
  --compressed

response :

{
  "errors": [
    {
      "message": "No access_token.",
      "extensions": {
        "error": {
          "name": "ApplicationError",
          "message": "No access_token.",
          "details": {}
        },
        "code": "STRAPI_APPLICATION_ERROR"
      }
    }
  ],
  "data": null
}

Thank you in advance :grin:

Having the same problem, may I know did you manage to found the solution for this?

not with graphql.
As an alternative i use REST api .

endpoint
/api/auth/google/callback?access_token=<google access_token>