Please wait while loading...

Read more GD Enhancer

A good php class for image editing


Read more A beautity place - Santorini

A beautiful Island in Greece


Read more Free Litecoin

Get your litecoin wallet here

Get free litecoin here

Read more A Great Website to earn Free Bitcoin


Read more Google Oauth 2.0 ask permission every time

I have made a application using google account for login. Reference to google's example, it's easy make the login work well. However, I'm face to a serious problem that google ask for permission approval every time. For a openid login, like facebook, we will ask permission in the first time only and for the next time, it should automatically complete the login and no need to approve by user again. For this purpose, I search from the internet and finally found the solution as following:

To make the application just ask permission for once, add the following line in the config

1 2 3 4 5 6 7 8 9 10