Google’s TokenInfo Endpoint
Google’s endpoint for the Check ID step of OpenID Connect can be
used to validate any OAuth 2.0 token issued by Google. The endpoint at
https://www.googleapis.com/oauth2/v1/tokeninfo is a
simple read-only API. To get the scope and expiration date of a token,
make a HTTP request to the endpoint and pass an OAuth access token as the
access_token
query parameter or an ID token as the
id_token
parameter.
Get Getting Started with OAuth 2.0 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.