Error: redirect_uri_mismatch
На этой странице указал все пути возможные редиректа (как указано http://test.ua/site/login)
https://console.developers.google.com/a ... authclient
Ссылка такая формируется:
Код: Выделить всё
https://accounts.google.com/o/oauth2/auth?display=popup&type=web_server&client_id=668471247662-a7upe78ugrejh08111vf5co5ar62da3s.apps.googleusercontent.com&redirect_uri=http://test.ua/site/login?service=google&response_type=code&scope=https://www.googleapis.com/auth/userinfo.profile&state=28d31ba797a941abcaebe9bfaf71f6e