Documentation Index
Fetch the complete documentation index at: https://mintlify.com/dvlpjrs/guMCP/llms.txt
Use this file to discover all available pages before exploring further.
Overview
GumloopAuthClient is an implementation of BaseAuthClient that uses Gumloop’s infrastructure to manage credentials. It retrieves credentials that have been linked at https://gumloop.com/credentials.
Source: src/auth/clients/GumloopAuthClient.py:11
Class Definition
Constructor
Source:src/auth/clients/GumloopAuthClient.py:18
Gumloop API key for service authentication. Required for API calls.
Methods
get_user_credentials
Retrieves user credentials from the Gumloop API. Source:src/auth/clients/GumloopAuthClient.py:35
Name of the service (e.g., “gdrive”, “github”, “slack”)
Identifier for the user
Credentials data from Gumloop API as a dictionary, or None if retrieval fails
GET {api_base_url}/auth/{service_name}/credentials?user_id={user_id}
Authentication: Bearer token using the API key
Configuration
Environment Variables
Base URL for Gumloop API. Defaults to
https://api.gumloop.com/api/v1Implementation Notes
- Only implements
get_user_credentials()- credential saving is managed through Gumloop’s web interface - Does not implement
get_oauth_config()orsave_user_credentials()as these are handled by Gumloop’s infrastructure - Returns credentials as a dictionary; the caller is responsible for converting to the appropriate credentials type
- Logs errors but returns
Noneon failure rather than raising exceptions
Example Usage
Error Handling
The client handles errors gracefully:- Returns
Noneif credentials are not found (404) - Returns
Noneif API request fails - Logs all errors for debugging
API Response Format
The Gumloop API returns credentials in JSON format:See Also
- BaseAuthClient - Abstract base class
- LocalAuthClient - Alternative local file implementation
- create_auth_client() - Factory function