https://github.com/systemli/userli-keycloak-provider
KeyCloak Provider for Userli
https://github.com/systemli/userli-keycloak-provider
Last synced: 2 months ago
JSON representation
KeyCloak Provider for Userli
- Host: GitHub
- URL: https://github.com/systemli/userli-keycloak-provider
- Owner: systemli
- Created: 2023-12-11T13:50:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-12-10T13:12:19.000Z (6 months ago)
- Last Synced: 2025-12-10T20:20:43.551Z (6 months ago)
- Language: Java
- Size: 258 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# KeyCloak User Provider for Userli
This is a user provider for [Userli](https://github.com/systemli/userli) that uses Keycloak for authentication.
## Development
* Requirements: [Docker](https://www.docker.com/), [Docker Compose](https://docs.docker.com/compose/) or Podman
1. Build the provider and start the KeyCloak, Userli and MariaDB containers:
```bash
podman compose up -d --build
```
2. Prepare data in Userli:
```bash
podman compose exec userli bin/console doctrine:schema:create
podman compose exec userli bin/console doctrine:fixtures:load
```
3. Login to KeyCloak at [http://localhost:8080](http://localhost:8080) with the credentials `admin`/`admin`.
4. Add the new Provider to KeyCloak:
* Go to **User Federation**
* Click **Add Userli-user-provider**
* Type "Userli" as **Name**
* Type "example.org" as **Domain**
* Type "http://userli/" as **Base URL**
* Type "keycloak" as **API token**
* Click **Save**
5. Now you can login to KeyCloak with following users:
* `admin@example.org` / `password`
* `user@example.org` / `password`