Skip to content

Instantly share code, notes, and snippets.

@knikolla
knikolla / get_users_from_keycloak.py
Last active May 22, 2023 21:36
Query all Keycloak Users from the HTTP API
import json
import logging
import requests
from requests.auth import HTTPBasicAuth
logger = logging.getLogger()
def get_client_token():
client_token = None