I am trying to put google login to my website using the userinfo example code from google-php-client. And now everytime i the same user tries to login it prompts at consent screen. Also If the token expires if gives error the next time the user logs in. How do i solve this?
Make sure you do not have the following parameters in the request URL:
Either of these values will force the user to re-consent each time.