Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Client Migration tool

This project helps you move OIDC/OAuth2 client configurations between authorization servers. It exports client configurations from an existing authorization server into a canonical, system-agnostic format, which can then be provisioned into the same or a different authorization server.

Currently supported authorization servers: Keycloak and PingFederate.

How it works

+------------------------------+
|     Authorization server     |
|           (source)           |
|                              |
|   Keycloak / PingFederate    |
+------------------------------+
              |
              | export (export/)
              v
+------------------------------+
|    client-configurations/    |
|                              |
|      (canonical YAML)        |
+------------------------------+
              |
              | import (import/)
              v
+------------------------------+
|     Authorization server     |
|           (target)           |
|                              |
|   Keycloak / PingFederate    |
+------------------------------+
Directory Purpose
export/ Go tool (ocm — OIDC Client Migration) that exports client configurations from an authorization server into the canonical format.
client-configurations/ Canonical client configuration files: written by export/, read by import/.
import/ Terraform/OpenTofu definitions that provision canonical client configurations into an authorization server.

Documentation

Quick start

# 1. Build the export tool
make build

# 2. Export client configurations from Keycloak (see docs/exporting.md for credentials setup)
bin/ocm -source keycloak -dir client-configurations -format yaml

# 3. Provision the exported configurations into a target authorization server (see docs/importing.md)
cd import
terraform init
terraform apply

About

Export any oAuth2 / OIDC client configuration to a common format

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages