diff options
author | Varun Ravichandran <varun.ravichandran@mongodb.com> | 2023-02-03 03:43:52 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-02-25 02:52:37 +0000 |
commit | 4245d08e8748b6ff6a316d8d9242abec049cef31 (patch) | |
tree | b37bb9429909d397205406ef4013e893f93d884f /evergreen | |
parent | ed369121f42518550c6327693d489bf122c3c25b (diff) | |
download | mongo-4245d08e8748b6ff6a316d8d9242abec049cef31.tar.gz |
SERVER-70958: Add end-to-end device authorization grant flow integration test with Okta
Diffstat (limited to 'evergreen')
-rw-r--r-- | evergreen/external_auth_oidc_setup.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/evergreen/external_auth_oidc_setup.sh b/evergreen/external_auth_oidc_setup.sh new file mode 100644 index 00000000000..c082304a022 --- /dev/null +++ b/evergreen/external_auth_oidc_setup.sh @@ -0,0 +1,15 @@ +DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)" +. "$DIR/prelude.sh" + +cd src + +set -o errexit + +# Should output contents to new file in home directory. +cat << EOF > $HOME/oidc_e2e_setup.json +{ + "testserversecurityone@okta-test.com" : "${oidc_okta_test_user_account_one_secret}", + "testserversecuritytwo@okta-test.com" : "${oidc_okta_test_user_account_two_secret}", + "testserversecuritythree@okta-test.com" : "${oidc_okta_test_user_account_three_secret}" +} +EOF |