CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-google-auth-oauthlib

Google Authentication Library - oauthlib integration for OAuth 2.0 flows.

83

1.05x
Overview
Eval results
Files

rubric.jsonevals/scenario-6/

{
  "context": "This evaluation assesses how well the engineer uses google-auth-oauthlib's configuration loading capabilities, specifically the ability to create OAuth flows from both file-based and dictionary-based client secrets. The focus is on proper usage of the Flow class and its factory methods.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Flow from file",
      "description": "Uses Flow.from_client_secrets_file() to load configuration from a JSON file path and create an OAuth flow",
      "max_score": 30
    },
    {
      "name": "Flow from dictionary",
      "description": "Uses Flow.from_client_config() to load configuration from a Python dictionary and create an OAuth flow",
      "max_score": 30
    },
    {
      "name": "Scopes specification",
      "description": "Correctly passes the scopes parameter when creating Flow instances using either from_client_secrets_file() or from_client_config()",
      "max_score": 15
    },
    {
      "name": "Authorization URL generation",
      "description": "Uses the Flow.authorization_url() method to generate OAuth authorization URLs and properly returns both the URL and state",
      "max_score": 15
    },
    {
      "name": "Both client types",
      "description": "The implementation correctly handles both 'web' and 'installed' client type configurations without requiring different code paths",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-google-auth-oauthlib

tile.json