Skip to content

Commit

Permalink
Merge pull request #90 from adorsys/84-add-organizational-credential
Browse files Browse the repository at this point in the history
Deploy from BSK demo branch
  • Loading branch information
Awambeng authored Oct 2, 2024
2 parents 9ee91f9 + e569ebc commit 2870480
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ TOOLS_DIR=$TARGET_DIR/tools

# Dev dir where to clone keycloak
# KC_TARGET_BRANCH=main
KC_TARGET_BRANCH=DEPLOY-20240725
# KC_TARGET_BRANCH=DEPLOY-20240725
KC_TARGET_BRANCH=DEPLOY-BSK-DEMO-86
KC_OID4VCI="keycloak_${KC_TARGET_BRANCH}"

# Ensure all sensitive data like passwords and keys are passed through environment variables or secure stores.
Expand Down Expand Up @@ -55,7 +56,7 @@ KEYCLOAK_ADMIN_ADDR=https://localhost:8443
# KEYCLOAK_EXTERNAL_ADDR=https://keycloak.solutions.adorsys.com
# KEYCLOAK_EXTERNAL_ADDR=http://localhost:8080
KEYCLOAK_EXTERNAL_ADDR=https://keycloak-demo.solutions.adorsys.com

# KEYCLOAK_EXTERNAL_ADDR=https://localhost:8443

ISSUER_DID="${KEYCLOAK_EXTERNAL_ADDR}/realms/master"

Expand Down
6 changes: 3 additions & 3 deletions client-oid4vc.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"vc.SteuerberaterCredential.cryptographic_binding_methods_supported": "jwk",
"vc.SteuerberaterCredential.credential_signing_alg_values_supported": "ES256",
"vc.SteuerberaterCredential.proof_types_supported":"{\"jwt\":{\"proof_signing_alg_values_supported\":[\"ES256\"]}}",
"vc.SteuerberaterCredential.display.0": "{\"locale\":\"de-DE\",\"name\":\"Steuerberaterkammer Westfalen-Lippe\",\"logo\":\"https:\/\/adorsys-my.sharepoint.com\/personal\/ingrid_kamga_adorsys_com\/Documents\/World\/stbk-wl-icon.png\",\"background_color\":\"#d3dce0\",\"text_color\":\"#000000\"}",
"vc.SteuerberaterCredential.display.1": "{\"locale\":\"en-US\",\"name\":\"Steuerberaterkammer Westfalen-Lippe\",\"logo\":\"https:\/\/adorsys-my.sharepoint.com\/personal\/ingrid_kamga_adorsys_com\/Documents\/World\/stbk-wl-icon.png\",\"background_color\":\"#d3dce0\",\"text_color\":\"#000000\"}",
"vc.SteuerberaterCredential.display.0": "{\"locale\":\"de-DE\",\"name\":\"Steuerberaterkammer Westfalen-Lippe\",\"logo\":{\"uri\":\"https:\/\/kci-portal.solutions.adorsys.com\/credential_files\/stbk-wl-icon.png\",\"alt_text\":\"STBK\"},\"background_image\":{\"uri\":\"https:\/\/kci-portal.solutions.adorsys.com\/credential_files\/stbk-wl.png\",\"alt_text\":\"Mitgliedsausweis\"},\"background_image_svg\":{\"uri\":\"https:\/\/kci-portal.solutions.adorsys.com\/credential_files\/stbk-wl.svg\",\"alt_text\":\"Mitgliedsausweis\"},\"background_color\":\"#d3dce0\",\"text_color\":\"#000000\"}",
"vc.SteuerberaterCredential.display.1": "{\"locale\":\"en-US\",\"name\":\"Steuerberaterkammer Westfalen-Lippe\",\"logo\":{\"uri\":\"https:\/\/kci-portal.solutions.adorsys.com\/credential_files\/stbk-wl-icon.png\",\"alt_text\":\"STBK\"},\"background_image\":{\"uri\":\"https:\/\/kci-portal.solutions.adorsys.com\/credential_files\/stbk-wl.png\",\"alt_text\":\"Member Card\"},\"background_image_svg\":{\"uri\":\"https:\/\/kci-portal.solutions.adorsys.com\/credential_files\/stbk-wl.svg\",\"alt_text\":\"Member Card\"},\"background_color\":\"#d3dce0\",\"text_color\":\"#000000\"}",
"vc.SteuerberaterCredential.claims": "{\"academic_title\":{\"display\":[{\"locale\":\"de-DE\",\"name\":\"Titel\"},{\"locale\":\"en-US\",\"name\":\"Title\"},{\"locale\":\"fr-FR\",\"name\":\"Titre\"}]},\"family_name\":{\"display\":[{\"locale\":\"de-DE\",\"name\":\"Name\"},{\"locale\":\"en-US\",\"name\":\"Surname\"},{\"locale\":\"fr-FR\",\"name\":\"Nom\"}]},\"given_name\":{\"display\":[{\"locale\":\"de-DE\",\"name\":\"Vornamen\"},{\"locale\":\"en-US\",\"name\":\"Given names\"},{\"locale\":\"fr-FR\",\"name\":\"Pr\u00E8nomes\"}]},\"date_of_birth\":{\"display\":[{\"locale\":\"de-DE\",\"name\":\"Geburtstag\"},{\"locale\":\"en-US\",\"name\":\"Date of birth\"},{\"locale\":\"fr-FR\",\"name\":\"Date de naissance\"}]},\"member_id\":{\"display\":[{\"locale\":\"de-DE\",\"name\":\"Mitgliedsnummer\"},{\"locale\":\"en-US\",\"name\":\"Member ID\"},{\"locale\":\"fr-FR\",\"name\":\"Member ID\"}]},\"address_country\":{\"display\":[{\"locale\":\"de-DE\",\"name\":\"Staat\"},{\"locale\":\"en-US\",\"name\":\"Country\"},{\"locale\":\"fr-FR\",\"name\":\"Pays\"}]},\"address_locality\":{\"display\":[{\"locale\":\"de-DE\",\"name\":\"Wohnort Stadt\"},{\"locale\":\"en-US\",\"name\":\"City\"},{\"locale\":\"fr-FR\",\"name\":\"Ville\"}]},\"address_postal_code\":{\"display\":[{\"locale\":\"de-DE\",\"name\":\"Wohnnort PLZ\"},{\"locale\":\"en-US\",\"name\":\"Postcode\"},{\"locale\":\"fr-FR\",\"name\":\"Code Postal\"}]},\"address_street_address\":{\"display\":[{\"locale\":\"de-DE\",\"name\":\"Wohnnort Stra\u00DFe\"},{\"locale\":\"en-US\",\"name\":\"Street\"},{\"locale\":\"fr-FR\",\"name\":\"Rue\"}]}}"
},
"protocolMappers": [
Expand All @@ -34,7 +34,7 @@
"protocolMapper": "oid4vc-static-claim-mapper",
"config": {
"subjectProperty": "academic_title",
"staticValue": "\u0020",
"staticValue": "N/A",
"supportedCredentialTypes": "stbk_westfalen_lippe"
}
},
Expand Down
2 changes: 1 addition & 1 deletion generate_user_key.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if [ ! -f "$FRANCIS_KEYSTORE_FILE" ]; then
keytool \
-genkeypair \
-keyalg EC \
-keysize 256 \
-groupname secp256r1 \
-keystore "$FRANCIS_KEYSTORE_FILE" \
-storepass "$FRANCIS_KEYSTORE_PASSWORD" \
-alias "$FRANCIS_KEYSTORE_ECDSA_KEY_ALIAS" \
Expand Down

0 comments on commit 2870480

Please sign in to comment.