Авторизация через Google, ошибка.

More
8 years 3 months ago #5310 by Belka
Подскажите, пожалуйста. При авторизации через Google получаю ошибку:
object(stdClass)#625 (3) {
  ["errors"]=>
  array(1) {
    [0]=>
    object(stdClass)#624 (5) {
      ["domain"]=>
      string(6) "global"
      ["reason"]=>
      string(9) "authError"
      ["message"]=>
      string(19) "Invalid Credentials"
      ["locationType"]=>
      string(6) "header"
      ["location"]=>
      string(13) "Authorization"
    }
  }
  ["code"]=>
  int(401)
  ["message"]=>
  string(19) "Invalid Credentials"
}
Client ID, Client secret, Callback URL настроены верно, указаны в модуле верно.

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #5313 by JoomLine
У вас е-меил указан в приложении?

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #5315 by Belka
Указан, тот, от пользователя которого настраивала все в гугле. Там, кстати, только одну почту можно выбрать, ту, что основная, резервная (для восстановления аккаунта гугл) не выбирается.
И в остальном все строго по инструкции к компоненту. Все работает (ВК, Одноклассники, Мэйл.ру), кроме авторизации Гугла.

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #5323 by JoomLine
Судя по ошибкам, у вас либо не опубликовано приложение, либо его просто нет. Я могу предположить, что у вас есть пробелы в ключах или все таки допустим не задано название приложения.
The following user(s) said Thank You: Belka

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #5330 by Belka
Приложение опубликовано. На счет пробелов я знаю, Гугл при копировании в ключе добавляет пробел - это в первую очередь проверила. Посмотрите, пожалуйста, может быть тут причина?
В Credentials есть вкладка Domain verification. Там:
APIs & Auth
Domain verification
You need to verify domain ownership to allow webhook notifications to be sent to your external domains. Google verifies that the user owns each of the listed domains via Search Console.
Требуется это для работы?

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #5347 by Belka
Авторизация ВК.
object(stdClass)#412 (2) {
  ["error"]=>
  string(13) "invalid_grant"
  ["error_description"]=>
  string(27) "Code is invalid or expired."
}

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #5350 by JoomLine
Что вы хотите услышать от нас? вердикт будет один и тот же. Либо приложение не правильно настроено, либо данные из приложения (секретные ключи) взяты не верные.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Last from the forum

© 2010- JoomLine
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. joomline.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

email: This email address is being protected from spambots. You need JavaScript enabled to view it.