Google oAuth 2.0 new authorization and token endpoint

I will update my code for Google oAuth2.0, will prohibit the use of web notes. I found that the authorization and token endpoints in the document were changed.

I have been using the endpoint as follows since 2014.

  • "accounts.google.com/o/oauth2/auth"
  • "accounts.google.com/o/oauth2/token"

new destination as follows

  • "accounts.google.com/o/oauth2/v2/auth"
  • "www.googleapis.com/oauth2/v4/token"

I try my code for the old and new endpoint. It works at all ends. Can I use old endpoints? or expired for old endpoints?

Thank!

+4
source share
1 answer

OpenIDConnect, , . , - OpenIDConnect ( ). ( ). id_token https://accounts.google.com accounts.google.com

( ) OpenIDConnect, . , , , .

+3

Source: https://habr.com/ru/post/1661897/


All Articles