Skip to content

openlibraryenvironment/dcb-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3d5a8b8 · May 2, 2023

History

2 Commits
May 2, 2023
May 2, 2023
May 2, 2023

Repository files navigation

reshare-dcb-testing

All the scripts in this repository require a ~/.dcb.sh file which contains defaults for the script.

~/.dcb.sh was chosen to avoid accidental check-ins to source control.

Your ~/.dcb.sh script should set the following properties

#!/bin/bash
export KEYCLOAK_BASE="https://reshare-hub-kc.libsdev.k-int.com/realms/reshare-hub"
export KEYCLOAK_CERT_URL="$KEYCLOAK_BASE/protocol/openid-connect/certs"
export KEYCLOAK_CLIENT="dcb"
export KEYCLOAK_SECRET="THE_KEYCLOAK_SECRET_FOR_DCB_CLIENT"
export DCB_ADMIN_USER=
export DCB_ADMIN_PASS=
export DCB_STD_USER=
export DCB_STD_PASS=

Having set up this file and made it executable the following scripts are available in the ./bin directory

  • login - Talks to keycloak and returns a JWT which can be used in subsequent requests. Paste this into jwt.io to decode

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages