Josh Reback
Josh Reback

Reputation: 579

See authorized scopes with a google access token

Is It possible to determine the list of scopes that have been authorized (e.g, "https://www.googleapis.com/auth/drive"), given an access token?

I couldn't find any such endpoint in the documentation, but I'd be surprised if such functionality did not exist.

Thank you!

Upvotes: 0

Views: 57

Answers (1)

Jay Lee
Jay Lee

Reputation: 13528

You can use the OAuth 2.0 API for this. Try tokeninfo in the API Explorer.

Upvotes: 2

Related Questions