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

[Identity] Adding regional STS support #15778

Merged
11 commits merged into from
Jun 18, 2021
Prev Previous commit
Next Next commit
skipping regional authority public test on live mode
sadasant authored Jun 17, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 0b24db834da89b67133b6b860af62b5ae1391bd2
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
/* eslint-disable @typescript-eslint/no-non-null-asserted-optional-chain */

import assert from "assert";
import { env, delay } from "@azure/test-utils-recorder";
import { env, delay, isLiveMode } from "@azure/test-utils-recorder";
import { AbortController } from "@azure/abort-controller";
import { MsalTestCleanup, msalNodeTestSetup, testTracing } from "../../msalTestUtils";
import { ClientSecretCredential, RegionalAuthority } from "../../../src";
@@ -82,7 +82,11 @@ describe("ClientSecretCredential", function() {
})
);

it("supports specifying the regional authority", async function() {
it("supports specifying the regional authority", async function(this: Context) {
if (isLiveMode()) {
this.skip();
}

const credential = new ClientSecretCredential(
env.AZURE_TENANT_ID,
env.AZURE_CLIENT_ID,