Erro ao tentar associar conta do Google ao perfil do fórum

O valor do parâmetro client_id não está sendo enviado no request para conectar as contas:

Screenshots


Mensagem de erro em texto puro

400. That’s an error.

Error: invalid_request

Missing required parameter: client_id

Learn more

Request Details

  • access_type=offline
  • client_id=
  • redirect_uri=https://plus.diolinux.com.br/auth/google_oauth2/callback
  • response_type=code
  • scope=email profile
  • state=d776791f93daaa2d769da3846fb4f8a400e337dd87d16262

That’s all we know.

Requisição e resposta em texto puro

curl -I 'https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=&redirect_uri=https%3A%2F%2Fplus.diolinux.com.br%2Fauth%2Fgoogle_oauth2%2Fcallback&response_type=code&scope=email+profile&state=d776791f93daaa2d769da3846fb4f8a400e337dd87d16262' \
        -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0' \
        -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' \
        -H 'Accept-Language: en-US,en;q=0.5' \
        --compressed \
        -H 'Referer: https://plus.diolinux.com.br/' \
        -H 'Connection: keep-alive' \
        -H 'Cookie: ...omitido...' \
        -H 'Upgrade-Insecure-Requests: 1' \
        -H 'TE: Trailers'
HTTP/2 400
content-type: text/html; charset=utf-8
cache-control: no-cache, no-store, max-age=0, must-revalidate
pragma: no-cache
expires: Mon, 01 Jan 1990 00:00:00 GMT
date: Sat, 29 Feb 2020 14:54:01 GMT
content-length: 3478
server: ESF
x-xss-protection: 0
x-frame-options: SAMEORIGIN
alt-svc: quic=":443"; ma=2592000; v="46,43",h3-Q050=":443"; ma=2592000,h3-Q049=":443"; ma=2592000,h3-Q048=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000
1 Curtida

Acrescentando o @Dio para dar uma olhada.

1 Curtida