Skip to content

Commit 74e363c

Browse files
authored
Merge pull request #15 from topcoder-platform/develop
Wipro login in prod
2 parents f968307 + bf80469 commit 74e363c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/api/user/validation.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -821,6 +821,7 @@ export class ValidationService {
821821
select: { user_id: true },
822822
});
823823
}
824+
console.log("Looking for user ID: " + profile.userId);
824825
// getUserIdBySSOUserId
825826
if (!ssoLink && profile.userId) {
826827
ssoLink = await this.prismaClient.user_sso_login.findFirst({

src/core/constant/provider-type.enum.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ export const ProviderTypes: Record<string, ProviderDetails> = {
110110
isSocial: false,
111111
isEnterprise: true,
112112
},
113-
adfs: {
113+
"wipro-adfs": {
114114
id: ProviderId.ADFS,
115-
key: 'adfs',
115+
key: 'wipro-adfs',
116116
isSocial: false,
117117
isEnterprise: true,
118118
},

0 commit comments

Comments
 (0)