You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 years ago | |
---|---|---|
.gitignore | 2 years ago | |
README.md | 2 years ago | |
add-users-keycloak-api.py | 2 years ago | |
add-users-keycloak.py | 2 years ago | |
test-stream.sh | 2 years ago |
README.md
toolshed
Bits and bobs.
add-users-keycloak.py
DEPRECATED: user
Attempt to create users using the local command-line client.
add-users-keycloak-api.py
Create users using the REST API.
$ export KEYCLOAK_DOMAIN=login.lumbung.space
$ export KEYCLOAK_REALM=lumbung-space
$ export KEYCLOAK_CLIENT_SECRET=foobar
$ python3 -m venv .venv && source .venv/bin/activate
$ pip install -r requirements.txt
$ cat mycoolemail@foobar.com > accounts.txt # the data source
$ ./add-users-keycloak-api.py
accounts.txt
just needs an email on each new line.