I'm using a google analytics api in php to show my analytics data on my site. What happens is that when you authenticate, google blocks access to the server. I had this problem a long time ago with another server but I no longer remember how I solved it.
How can I give the server permission on the google account?