Skip to content

globaleaks/globaleaks-testing-keycloak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

setup-testing-keycloak.sh

This script sets up a local Keycloak instance for development and testing in the context of the GlobaLeaks project.

It automates the provisioning of a Keycloak realm, test user, and client required to test GlobaLeaks' OpenID Connect (OIDC) integration locally, using Docker.

What It Does

  • Pulls the latest Keycloak Docker image from quay.io
  • Starts a local Keycloak container on port 9090
  • Waits for Keycloak to become available
  • Automatically:
    • Creates a new realm named globaleaks
    • Adds a user globaleaks with password globaleaks
    • Configures a client globaleaks with direct access grants and https://127.0.0.1:8443/* as a redirect URI

This setup is designed specifically to test OIDC authentication in GlobaLeaks without relying on an external identity provider.

Prerequisites

  • Docker
  • curl

Usage

chmod +x setup-testing-keycloak.sh
./setup-testing-keycloak.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages