From 9d1533b460b188f1d498df087058f25e9bb38e10 Mon Sep 17 00:00:00 2001 From: mmouly Date: Wed, 20 Nov 2024 15:15:19 +0100 Subject: [PATCH] update jose lib version --- .../AzureAD/README_WITH_PRIVATE_KEY_JWT.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/authentication/AzureAD/README_WITH_PRIVATE_KEY_JWT.md b/authentication/AzureAD/README_WITH_PRIVATE_KEY_JWT.md index c99b71a..e94483a 100644 --- a/authentication/AzureAD/README_WITH_PRIVATE_KEY_JWT.md +++ b/authentication/AzureAD/README_WITH_PRIVATE_KEY_JWT.md @@ -75,22 +75,22 @@ For additional information regarding the implement in Liberty, please refer to t In **Microsoft Entra Id** / **Manage** / **App registrations**, select **ODM Application**, and in **Manage / Token Configuration**: - * Add Optional Email ID Claim + * Add Optional **email** ID Claim * Click **+ Add optional claim** * Select **ID** - * Check **Email** - * Click **Add** - - * Add Optional Email Access Claim - * Click **+ Add optional claim** - * Select **Access** - * Check **Email** + * Check **email** * Click **Add** * Turn on Microsoft Graph email permission * Check **Turn on the Microsoft Graph email permission** * Click **Add** + * Add Optional **email** Access Claim + * Click **+ Add optional claim** + * Select **Access** + * Check **email** + * Click **Add** + * Add Group Claim * Click **+ Add groups claim** * Check **Security Groups** @@ -445,7 +445,7 @@ keytool -importkeystore -srckeystore myodmcompany.p12 -srcstoretype pkcs12 -srca Now you can generate the client_assertion following the [ODM documentation](https://www.ibm.com/docs/en/odm/9.0.0?topic=900-generating-json-web-token-client-assertion). ```shell -java -cp $DCLIB/jrules-teamserver.jar:$DCLIB/jose4j-0.9.3.jar:$DCLIB/slf4j-api-1.7.25.jar com.ibm.rules.oauth.ClientAssertionHelper -clientId -tokenEndpoint https://login.microsoftonline.com//oauth2/v2.0/token -keyAliasName myalias -keyStorePwd changeme -keyStoreLocation ./myodmcompany.jks +java -cp $DCLIB/jrules-teamserver.jar:$DCLIB/jose4j-0.9.5.jar:$DCLIB/slf4j-api-1.7.25.jar com.ibm.rules.oauth.ClientAssertionHelper -clientId -tokenEndpoint https://login.microsoftonline.com//oauth2/v2.0/token -keyAliasName myalias -keyStorePwd changeme -keyStoreLocation ./myodmcompany.jks ``` Now, generate the access token using the client_assertion: