Skip to content

Commit

Permalink
Merge branch 'stable' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
gingi committed Jul 15, 2022
2 parents 06ff2a5 + c5945b5 commit afd9a59
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion src/client/core/aad/aad-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ export interface AADConfig {
tenant: string;
clientId: string;
redirectUri: string;
logoutRedirectUri: string;
}
3 changes: 1 addition & 2 deletions src/client/core/aad/auth/aad.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ import { UserDecoder } from "./user-decoder";
const aadConfig: AADConfig = {
tenant: "common",
clientId: "04b07795-8ddb-461a-bbee-02f9e1bf7b46", // Azure CLI
redirectUri: "urn:ietf:wg:oauth:2.0:oob",
logoutRedirectUri: "urn:ietf:wg:oauth:2.0:oob/logout",
redirectUri: "https://login.microsoftonline.com/common/oauth2/nativeclient",
};

@Injectable()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const CONFIG = {
tenant: "common",
clientId: "abc",
redirectUri: "http://localhost",
logoutRedirectUri: "http://localhost",
};

const FAKE_TOKEN = {
Expand Down
1 change: 0 additions & 1 deletion src/test/utils/mocks/auth/auth-provider.mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ export const createMockClientApplication = () => {
tenant: null,
clientId: null,
redirectUri: null,
logoutRedirectUri: null
});
return new MockClientApplication(fakeAuthProvider);
};
Expand Down

0 comments on commit afd9a59

Please sign in to comment.