Login with Google Plus on My Website

后端 未结 4 2186
暖寄归人
暖寄归人 2021-01-13 09:16

I\'m very new to web development. I have searched for login with Google plus and found several good tutorials. But they seems to be very old (most of them from 2011). Why?

4条回答
  •  醉话见心
    2021-01-13 09:54

    Google APIs use the OAuth 2.0 protocol for authentication and authorization. Google supports several OAuth 2.0 flows that cover common web server, JavaScript, device, installed application, and server to server scenarios. The Previous Versions of OAuth has been deprecated by Google.

    Here is how it works : https://developers.google.com/accounts/docs/OAuth2

    To Get Started with Coding,

    https://code.google.com/p/google-plus-php-starter/

    Just download the project and Follow the steps mentioned.

    I have tried this recently and it's working 100% fine.

提交回复
热议问题