Попытался отправить запрос вида: https://accounts.google.com/o/oauth2/auth?scope=email%20profile&state=security_token%3D138r5719ru3e1%26url%3Dhttps://oa2cb.example.com/myHome&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=code&client_id=1052954357274-9em4nh3d157j61q84fpqjugc21t8c7de.apps.googleusercontent.com&access_type=offline
т.е. изменил вот тут: scope=email%20profile Получаю ошибку: *401.* That’s an error. *Error: invalid_client* - *Request Details*: - from_login=1 - scope=email profile - response_type=code - redirect_uri=urn:ietf:wg:oauth:2.0:oob - access_type=offline - state=security_token=138r5719ru3e1&url=https://oa2cb.example.com/myHome - as=4f37263b1742f251 - pli=1 - client_id=1052964437274-9em4nh3d157j61q84fpqjugc21t8c7de.apps.googleusercontent.com - authuser=1 - hl=ru суббота, 28 февраля 2015 г., 10:10:35 UTC+2 пользователь [email protected] написал: > > Добрый день! > Следую инстукции > https://developers.google.com/accounts/docs/OAuth2WebServer?hl=ru#offline, > которой уже пользовался успешно, но в это раз не могу получить на первом > этапе authorization code. > Посылаю запрос вида: > > > https://accounts.google.com/o/oauth2/auth?scope=https://www.googleapis.com/auth/adwords&state=security_token%3D138r5719ru3e1%26url%3Dhttps://oa2cb.example.com/myHome&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=code&client_id=1052988888274-9em4nh3d157j61q84fpqjugc21t8c7de.apps.googleusercontent.com&access_type=offline > > *В ответ получаю:* *401.* That’s an error., no support email > *Request Details*: > > - from_login=1 > - scope=https://www.googleapis.com/auth/adwords > - response_type=code > - redirect_uri=urn:ietf:wg:oauth:2.0:oob > - access_type=offline > - state=security_token=138r5719ru3e1&url= > https://oa2cb.example.com/myHome > - as=-573af5153d055104 > - pli=1 > - client_id= > 1052964437274-9em4nh3d157j61q84fpqjugc21t8c7de.apps.googleusercontent.com > - authuser=1 > - hl=ru > > > Помогите пожалуйста в решении данной проблемы! Спасибо! > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/d32f2f3b-322e-469d-994a-6cc004c2ebc1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
