Python 3.9 is now generally available.


Returns authorized scopes from input scopes.

scope The custom OAuth scope or an iterable of scopes at least one of which is accepted.

list A list of authorized OAuth2 scopes

OAuthRequestError The request was not a valid OAuth2 request.
OAuthServiceFailureError An unknown error occurred