Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review azuread #139

Merged
merged 2 commits into from
May 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions authentication/AzureAD/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ After activating your account by email, you should have access to your Aure AD i
```shell
helm search repo ibm-odm-prod
NAME CHART VERSION APP VERSION DESCRIPTION
ibmcharts/ibm-odm-prod 22.2.0 8.11.1.0 IBM Operational Decision Manager
ibmcharts/ibm-odm-prod 23.1.0 8.12.0.0 IBM Operational Decision Manager
```

### Run the `helm install` command
Expand Down Expand Up @@ -435,9 +435,12 @@ After activating your account by email, you should have access to your Aure AD i
--set customization.trustedCertificateList='{ms-secret,digicert-secret}' \
--set customization.authSecretRef=azuread-auth-secret \
--set service.ingress.enabled=true \
--set service.ingress.annotations={"kubernetes.io/ingress.class: nginx"\,"nginx.ingress.kubernetes.io/backend-protocol: HTTPS"\,"nginx.ingress.kubernetes.io/affinity: cookie"}
--set service.ingress.annotations={"kubernetes.io/ingress.class: nginx"\,"nginx.ingress.kubernetes.io/backend-protocol: HTTPS"}
```

> **Note**
> By default, NGINX does not enable sticky session. If you want to use sticky session to connect to DC, refer to [Using sticky session for Decision Center connection](../../contrib/sticky-session/README.md)

## Complete post-deployment tasks

### Register the ODM redirect URLs
Expand Down
Binary file modified authentication/AzureAD/azuread-odm-script.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion authentication/AzureAD/get-user-password-token.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ else
AZUREAD_SERVER_URL=${AZUREAD_SERVER_NAME}
fi
echo "Use Authentication URL Server : $AZUREAD_SERVER_URL"
RESULT=$(curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "client_id=$AZUREAD_CLIENT_ID&username=myodmusertest@ibmodmdev.onmicrosoft.com&scope=openid&password=My2ODMPassword?1&client_secret=$AZUREAD_CLIENT_SECRET&grant_type=password" \
RESULT=$(curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "client_id=$AZUREAD_CLIENT_ID&username=$USERNAME&scope=openid&password=$PASSWORD&client_secret=$AZUREAD_CLIENT_SECRET&grant_type=password" \
"$AZUREAD_SERVER_URL/oauth2/v2.0/token")

echo "Retrieve this Token : $RESULT"
Expand Down