Skip to content

Commit

Permalink
Merge pull request #4713 from coralproject/cvle-update-sso-url
Browse files Browse the repository at this point in the history
Fix: ssoURL not updated from sso token
  • Loading branch information
tessalt authored Dec 12, 2024
2 parents 3275d95 + 4dd3b75 commit 617f8d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ export async function findOrCreateSSOUser(
// not affected by this update feature.
role: role || user.role,
avatar,
ssoURL: url,
},
lastIssuedAt
);
Expand Down
1 change: 1 addition & 0 deletions server/src/core/server/models/user/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1317,6 +1317,7 @@ export interface UpdateUserInput {
badges?: string[];
role?: GQLUSER_ROLE;
avatar?: string;
ssoURL?: string;
}

export async function updateUserFromSSO(
Expand Down

0 comments on commit 617f8d9

Please sign in to comment.