Skip to content

Commit

Permalink
test: use azure username
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Feb 14, 2024
1 parent 5d9bb59 commit 893a15c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .evergreen/run-oidc-auth-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ if [ "$PROVIDER_NAME" = "azure" ]; then
exit 1
fi

export UTIL_CLIENT_USER=$AZUREOIDC_USERNAME
export UTIL_CLIENT_PASSWORD="pwd123"
MONGODB_URI="${MONGODB_URI}/?authMechanism=MONGODB-OIDC"
MONGODB_URI="${MONGODB_URI}&authMechanismProperties=PROVIDER_NAME:azure"
MONGODB_URI="${MONGODB_URI},TOKEN_AUDIENCE:api%3A%2F%2F${AZUREOIDC_CLIENTID}"
Expand All @@ -28,9 +30,9 @@ else
exit 1
fi

export UTIL_CLIENT_USER="bob"
export UTIL_CLIENT_PASSWORD="pwd123"
export MONGODB_URI="${MONGODB_URI}/test?authMechanism=MONGODB-OIDC&authMechanismProperties=PROVIDER_NAME:aws"
fi

export UTIL_CLIENT_USER="bob"
export UTIL_CLIENT_PASSWORD="pwd123"
npm run check:oidc-auth

0 comments on commit 893a15c

Please sign in to comment.