Richard Nemeth
11 months ago
No known key found for this signature in database
GPG Key ID: 21C39470DF3DEC39
1 changed files with
5 additions and
1 deletions
-
src/keycloak/keycloak_openid.py
|
|
@ -112,7 +112,11 @@ class KeycloakOpenID: |
|
|
|
self.realm_name = realm_name |
|
|
|
headers = custom_headers if custom_headers is not None else dict() |
|
|
|
self.connection = ConnectionManager( |
|
|
|
base_url=server_url, headers=headers, timeout=timeout, verify=verify, proxies=proxies |
|
|
|
base_url=server_url, |
|
|
|
headers={"Content-Type": "application/json", **headers}, |
|
|
|
timeout=timeout, |
|
|
|
verify=verify, |
|
|
|
proxies=proxies, |
|
|
|
) |
|
|
|
|
|
|
|
self.authorization = Authorization() |
|
|
|