Google Authentication Library - oauthlib integration for OAuth 2.0 flows.
83
{
"context": "This evaluation assesses how well the engineer uses the google-auth-oauthlib package to implement OAuth 2.0 authentication for a desktop application, specifically focusing on the InstalledAppFlow class and its methods for handling the authorization code flow with a local server.",
"type": "weighted_checklist",
"checklist": [
{
"name": "InstalledAppFlow Creation",
"description": "Uses InstalledAppFlow.from_client_secrets_file() to create a flow from the client_secrets.json file with the correct scopes",
"max_score": 25
},
{
"name": "Local Server Flow",
"description": "Calls the run_local_server() method with port parameter set to 8080 to execute the OAuth flow with a local server",
"max_score": 30
},
{
"name": "Credentials Access",
"description": "Accesses the credentials property of the flow after successful authentication to obtain the google.oauth2.credentials.Credentials object",
"max_score": 20
},
{
"name": "Credentials Serialization",
"description": "Properly saves credentials to credentials.json by serializing the credentials object, including token, refresh_token, token_uri, client_id, and client_secret fields",
"max_score": 25
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-google-auth-oauthlibevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10