Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

I would like to know which endpoint is deprecated in the following?

0 1 503
1 REPLY 1

Hi @wade53,

Welcome to Google Cloud Community!

According to Google's OAuth 2.0 evolution, here’s the status of the endpoints you mentioned in terms of deprecation:

  1. https://accounts.google.com/o/oauth2/v2/auth - This endpoint is currently supported and is not deprecated. It is used for initiating OAuth 2.0 authorization requests and is part of the active OAuth 2.0 flow.
  2. https://www.googleapis.com/oauth2/v1/userinfo - The v1/userinfo endpoint is deprecated and replaced by the v2/userinfo endpoint. Use the v2/userinfo endpoint to retrieve user profile information.
  3. https://www.googleapis.com/oauth2/v3/token - Not deprecated. This endpoint is used to obtain access tokens, refresh tokens, and other OAuth 2.0 functionality. It is actively used and is not deprecated.

Here are some other references that may be helpful: 

In addition, I came across an article/blog that covers the same question about your problem. It could be helpful for you.

Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.