Skip to content

Commit

Permalink
Merge pull request #4 from world-direct/fix/1
Browse files Browse the repository at this point in the history
Close #1 - External IdP login works
  • Loading branch information
hwo-wd authored Jun 9, 2023
2 parents 8c01b0d + de0429c commit 98d4a3b
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Given this, the most important files are:
* [KcApp.css](src/keycloak-theme/login/KcApp.css), for defining your styles
* fiddling with resources

This repos commits give good pointers, too.
This repo's commits give good pointers, too.

## Deployment

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "keycloak-theme-world-direct",
"homepage": "https://sso.world-direct.at",
"version": "0.2.2",
"version": "0.2.3",
"description": "A World-Direct keycloak theme built using keycloakify",
"repository": {
"type": "git",
Expand Down Expand Up @@ -37,7 +37,7 @@
"evt": "^2.4.15",
"jwt-decode": "^3.1.2",
"keycloak-js": "^21.0.1",
"keycloakify": "^7.11.8",
"keycloakify": "^7.11.11",
"powerhooks": "^0.26.8",
"react": "18.1.0",
"react-dom": "18.1.0",
Expand Down
18 changes: 18 additions & 0 deletions scratch_upload.sh1
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#! /bin/bash

set -e

targetDir='/opt/sso/rh-sso-7.6/standalone/deployments'
hosts=("[email protected]@redhatsso-playground1.wd.loc" "[email protected]@redhatsso-playground2.wd.loc")

eval `ssh-agent`
user_profile=`wslpath "$(wslvar USERPROFILE)"`
chmod 600 $user_profile/.ssh/id_ed25519_redhatsso-ansible
ssh-add $user_profile/.ssh/id_ed25519_redhatsso-ansible

for host in ${hosts[@]}; do
scp ./build_keycloak/target/keycloak-theme-world-direct-keycloak-theme-*.jar ${host}:/tmp/keycloak-theme-world-direct.jar
# clear theme cache cf. https://github.com/keycloak/keycloak/discussions/8628#discussioncomment-3515197
ssh ${host} "sudo mv /tmp/keycloak-theme-world-direct.jar ${targetDir}/keycloak-theme-world-direct.jar && \
sudo rm -rf /opt/sso/rh-sso-7.6/standalone/tmp/kc-gzip-cache/*"
done
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9697,10 +9697,10 @@ keycloak-js@^21.0.1:
base64-js "^1.5.1"
js-sha256 "^0.9.0"

keycloakify@^7.11.8:
version "7.11.8"
resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-7.11.8.tgz#3c46be0ae9564d4ec7b76a44447901fcd3e04a6d"
integrity sha512-uozDRs4AK0/fQFWTgco0pVtHrk5UmsOY9mA7nsqf3v/vyBwYMJJO19SnZ0k1wepGQ0PR717PI+uG6FqChaX2bw==
keycloakify@^7.11.11:
version "7.11.11"
resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-7.11.11.tgz#8ea8acb222e3dad846eeb2afeb8ac0f573d9ad6a"
integrity sha512-+qyExJHO+eUTntjRvWaqtNMiKzaCGkUjYV3ocXmh55Th3IbrO0AcqQ8xMBciEqSqJMwlb+6cgNj3kc6HQaDN1A==
dependencies:
"@octokit/rest" "^18.12.0"
"@types/yazl" "^2.4.2"
Expand Down

0 comments on commit 98d4a3b

Please sign in to comment.