Git Product home page Git Product logo

keycloak-bulk's Introduction

Keycloak Bulk CircleCI

A bulk operation tool for the Keycloak identity manager.

Getting Started

1. Create OIDC client

Create a new Client on your Keycloak.

  • Client ID: keycloak-bulk
  • Client Protocol: openid-connect
  • Access Type: confidential
  • Valid Redirect URIs: https://keycloak-bulk.example.com/signin/callback

2. Run server

Set the following environment variables:

Name Value Example
OIDC_ISSUER Issuer URL (mandatory) https://keycloak.example.com/auth/realms/YOUR_REALM
OIDC_CLIENT_ID Cliend ID (mandatory) keycloak-bulk
OIDC_CLIENT_SECRET Client secret (mandatory) 80a00dd6-7419-44a1-864d-ac8e44ebf68e
JWT_SECRET Signing key for a session token, defaults to random bytes affd7360-3591-4cb7-9baa-a386a77ced58

Run a container.

# Docker
docker run --rm -p 5000:5000 \
  -e OIDC_ISSUER=https://keycloak.example.com/auth/realms/YOUR_REALM \
  -e OIDC_CLIENT_ID=keycloak-bulk \
  -e OIDC_CLIENT_SECRET=your-secret \
  int128/keycloak-bulk

# Kubernetes
kubectl apply -f kubernetes.yaml

Open http://localhost:5000.

Contribution

This is an open source software licensed under Apache License 2.0.

Development

Create a new Client on your Keycloak.

Create dotenv:

# /apiserver/.env
OIDC_ISSUER=https://keycloak.example.com/auth/realms/YOUR_REALM
OIDC_CLIENT_ID=keycloak-bulk
OIDC_CLIENT_SECRET=your-secret

Start the API server:

cd api
npm start

Start the frontend:

cd frontend
npm start

Open http://localhost:3000.

keycloak-bulk's People

Contributors

adodge-bcg avatar int128 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.