From ea5e5a1fe2e0e24f528590bfdfb91cf19d537822 Mon Sep 17 00:00:00 2001 From: Matt Collecutt Date: Thu, 14 Mar 2024 10:11:18 +1300 Subject: [PATCH] refactor: adding custom headers to KeycloakOpenID Adding `custom_headers` to KeycloakOpenID instantiation. --- src/keycloak/openid_connection.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/keycloak/openid_connection.py b/src/keycloak/openid_connection.py index d7e27ee..583afcd 100644 --- a/src/keycloak/openid_connection.py +++ b/src/keycloak/openid_connection.py @@ -300,6 +300,7 @@ class KeycloakOpenIDConnection(ConnectionManager): verify=self.verify, client_secret_key=self.client_secret_key, timeout=self.timeout, + custom_headers=self.custom_headers, ) return self._keycloak_openid