Reputation: 1
Is it possible to determine the originating client_id of an access_token by calling a google api with the access_token?
Upvotes: 0
Views: 44
Reputation: 1663
There's no documented API for introspecting access tokens, but there is the tokeninfo endpoint:
curl https://www.googleapis.com/oauth2/v1/tokeninfo?id_token=
I wouldn’t be too eager to put an https round trip in a production workflow, though.
Upvotes: 1