Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/api/user/validation.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,7 @@ export class ValidationService {
select: { user_id: true },
});
}
console.log("Looking for user ID: " + profile.userId);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[⚠️ maintainability]
Using console.log for logging is not recommended in production code. Consider using the existing Logger instance for consistent logging and better control over log levels.

// getUserIdBySSOUserId
if (!ssoLink && profile.userId) {
ssoLink = await this.prismaClient.user_sso_login.findFirst({
Expand Down
4 changes: 2 additions & 2 deletions src/core/constant/provider-type.enum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ export const ProviderTypes: Record<string, ProviderDetails> = {
isSocial: false,
isEnterprise: true,
},
adfs: {
"wipro-adfs": {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[❗❗ correctness]
Changing the provider key from adfs to wipro-adfs may impact existing integrations or configurations that rely on the old key. Ensure that all references to this provider key are updated throughout the codebase and any external systems that interact with it.

id: ProviderId.ADFS,
key: 'adfs',
key: 'wipro-adfs',
isSocial: false,
isEnterprise: true,
},
Expand Down