Google OAuth 2.0 “error” : “redirect_uri_mismatch”
问题 I spend already one day, crashed one glass and I am really angry about it, I do not understand what google want from me, and what is wrong. I've enabled Google+ Api in developers console , created new OAuth Client ID $ch = curl_init('https://accounts.google.com/o/oauth2/token'); curl_setopt($ch,CURLOPT_POSTFIELDS,'code=4%2FPp1GWqC6PIr3wNYrZ5kK4T9oitxBoo0fBqBrVNQfE-g.ElKDUjQ7E28SoiIBeO6P2m-0RPaolgI&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fmyprivatedomain.local.com