tessl install tessl/pypi-google-auth-oauthlib@1.2.0Google Authentication Library - oauthlib integration for OAuth 2.0 flows.
Agent Success
Agent success rate when using this tile
83%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.05x
Baseline
Agent success rate without this tile
79%
{
"context": "This criteria evaluates how well the engineer uses google-auth-oauthlib to convert OAuth 2.0 sessions into Google-compatible credentials. The focus is on proper use of the library's session-to-credentials conversion functionality and understanding of how to extract and preserve token information.",
"type": "weighted_checklist",
"checklist": [
{
"name": "OAuth Session Import",
"description": "Uses google_auth_oauthlib.helpers.credentials_from_session or creates google.oauth2.credentials.Credentials directly with proper imports from google-auth-oauthlib or google-auth",
"max_score": 25
},
{
"name": "Access Token Extraction",
"description": "Correctly extracts the access token from the OAuth session's token dictionary and passes it to the credentials object",
"max_score": 15
},
{
"name": "Refresh Token Handling",
"description": "Correctly extracts and includes the refresh token from the OAuth session in the credentials object",
"max_score": 15
},
{
"name": "Client Configuration",
"description": "Properly sets client_id, client_secret, and token_uri in the credentials object",
"max_score": 15
},
{
"name": "ID Token Support",
"description": "Extracts and includes ID token from the session token dictionary when present",
"max_score": 10
},
{
"name": "Token Expiry",
"description": "Correctly handles and preserves token expiry information from the session",
"max_score": 10
},
{
"name": "Scope Management",
"description": "Properly extracts and sets OAuth scopes and granted scopes from the session",
"max_score": 10
}
]
}