Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: diffgram/diffgram
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: rall/diffgram
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 6 commits
  • 2 files changed
  • 1 contributor

Commits on Oct 23, 2025

  1. fix: update get_client() to use get_client_id() for python-keycloak c…

    …ompatibility
    
    The get_client() method in python-keycloak expects the internal UUID,
    not the clientId string. This change first resolves the clientId to UUID
    using get_client_id() before calling get_client().
    
    This fix is compatible with both older and newer versions of python-keycloak.
    rall committed Oct 23, 2025
    Configuration menu
    Copy the full SHA
    200c71a View commit details
    Browse the repository at this point in the history
  2. fix: use clientId instead of name in create_client payload for python…

    …-keycloak compatibility
    rall committed Oct 23, 2025
    Configuration menu
    Copy the full SHA
    c456f32 View commit details
    Browse the repository at this point in the history
  3. fix: update_client_scope with complete payload to avoid NullPointerEx…

    …ception
    
    - Get current scope first before updating
    - Merge attribute updates with existing scope data
    - Use string values 'true' instead of boolean for Keycloak attributes
    rall committed Oct 23, 2025
    Configuration menu
    Copy the full SHA
    f6934f7 View commit details
    Browse the repository at this point in the history
  4. fix: make scope configuration non-fatal with try/except

    - Wrap scope update in try/except to prevent setup failure
    - Log warning instead of crashing when scope update fails
    - OAuth will still work without custom scope configuration
    rall committed Oct 23, 2025
    Configuration menu
    Copy the full SHA
    9d5c34e View commit details
    Browse the repository at this point in the history
  5. feat: add automated Google OAuth Identity Provider setup

    - Add __setup_google_identity_provider() method to KeycloakDiffgramClient
    - Automatically configures Google IDP if GOOGLE_OAUTH_CLIENT_ID and GOOGLE_OAUTH_CLIENT_SECRET are set
    - Supports both creating new IDP and updating existing one
    - Non-fatal: logs warning if Google OAuth not configured or setup fails
    - Allows users to log in with Google accounts
    rall committed Oct 23, 2025
    Configuration menu
    Copy the full SHA
    f519f5c View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2025

  1. feat: add support for separate public/internal Keycloak URLs and Goog…

    …le OAuth
    
    - Use OAUTH2_PROVIDER_PUBLIC_URL for browser-facing URLs (KeycloakOpenID)
    - Keep OAUTH2_PROVIDER_HOST for internal server-to-server API calls
    - Add GOOGLE_OAUTH_CLIENT_ID and GOOGLE_OAUTH_CLIENT_SECRET settings
    - Enables Google sign-in via Keycloak identity provider
    
    This allows Diffgram to work with Keycloak behind a load balancer where:
    - Internal URL: http://keycloak-http.spycoach.svc.cluster.local:8080
    - Public URL: https://auth.spycoach.com
    rall committed Oct 24, 2025
    Configuration menu
    Copy the full SHA
    f6e5a53 View commit details
    Browse the repository at this point in the history
Loading